mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-31 22:17:45 +00:00
850c3eaf07
And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj.
38 lines
757 B
Java
38 lines
757 B
Java
class Getter {
|
|
@lombok.Getter boolean foo;
|
|
@lombok.Getter boolean isBar;
|
|
@lombok.Getter boolean hasBaz;
|
|
public @java.lang.SuppressWarnings("all") boolean isFoo() {
|
|
return this.foo;
|
|
}
|
|
public @java.lang.SuppressWarnings("all") boolean isBar() {
|
|
return this.isBar;
|
|
}
|
|
public @java.lang.SuppressWarnings("all") boolean isHasBaz() {
|
|
return this.hasBaz;
|
|
}
|
|
Getter() {
|
|
super();
|
|
}
|
|
}
|
|
class MoreGetter {
|
|
@lombok.Getter boolean foo;
|
|
public @java.lang.SuppressWarnings("all") boolean isFoo() {
|
|
return this.foo;
|
|
}
|
|
MoreGetter() {
|
|
super();
|
|
}
|
|
boolean hasFoo() {
|
|
return true;
|
|
}
|
|
}
|
|
class YetMoreGetter {
|
|
@lombok.Getter boolean foo;
|
|
YetMoreGetter() {
|
|
super();
|
|
}
|
|
boolean getFoo() {
|
|
return true;
|
|
}
|
|
} |