mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 09:13:36 +00:00
33 lines
556 B
Java
33 lines
556 B
Java
class Getter {
|
|
boolean foo;
|
|
boolean isBar;
|
|
boolean hasBaz;
|
|
@java.lang.SuppressWarnings("all")
|
|
public boolean isFoo() {
|
|
return this.foo;
|
|
}
|
|
@java.lang.SuppressWarnings("all")
|
|
public boolean isBar() {
|
|
return this.isBar;
|
|
}
|
|
@java.lang.SuppressWarnings("all")
|
|
public boolean isHasBaz() {
|
|
return this.hasBaz;
|
|
}
|
|
}
|
|
class MoreGetter {
|
|
boolean foo;
|
|
boolean hasFoo() {
|
|
return true;
|
|
}
|
|
@java.lang.SuppressWarnings("all")
|
|
public boolean isFoo() {
|
|
return this.foo;
|
|
}
|
|
}
|
|
class YetMoreGetter {
|
|
boolean foo;
|
|
boolean getFoo() {
|
|
return true;
|
|
}
|
|
} |