mirror of
https://github.com/tiennm99/lombok.git
synced 2026-06-01 20:13:03 +00:00
850c3eaf07
And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj.
28 lines
660 B
Java
28 lines
660 B
Java
import lombok.Getter;
|
|
import lombok.AccessLevel;
|
|
class MultiFieldGetter {
|
|
@Getter(AccessLevel.PROTECTED) int x;
|
|
@Getter(AccessLevel.PROTECTED) int y;
|
|
protected @java.lang.SuppressWarnings("all") int getX() {
|
|
return this.x;
|
|
}
|
|
protected @java.lang.SuppressWarnings("all") int getY() {
|
|
return this.y;
|
|
}
|
|
MultiFieldGetter() {
|
|
super();
|
|
}
|
|
}
|
|
@Getter class MultiFieldGetter2 {
|
|
@Getter(AccessLevel.PACKAGE) int x;
|
|
@Getter(AccessLevel.PACKAGE) int y;
|
|
@java.lang.SuppressWarnings("all") int getX() {
|
|
return this.x;
|
|
}
|
|
@java.lang.SuppressWarnings("all") int getY() {
|
|
return this.y;
|
|
}
|
|
MultiFieldGetter2() {
|
|
super();
|
|
}
|
|
} |