blob: 4ed6038d05c00fcd479ee880449f87c34843a599 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import lombok.Getter;
import lombok.AccessLevel;
class MultiFieldGetter {
@Getter(AccessLevel.PROTECTED) int x;
@Getter(AccessLevel.PROTECTED) int y;
MultiFieldGetter() {
super();
}
protected @java.lang.SuppressWarnings("all") int getX() {
return this.x;
}
protected @java.lang.SuppressWarnings("all") int getY() {
return this.y;
}
}
@Getter class MultiFieldGetter2 {
@Getter(AccessLevel.PACKAGE) int x;
@Getter(AccessLevel.PACKAGE) int y;
MultiFieldGetter2() {
super();
}
@java.lang.SuppressWarnings("all") int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all") int getY() {
return this.y;
}
}
|