mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 06:15:41 +00:00
Testcases updated with new behaviour of @Getter/@Setter on booleans.
This commit is contained in:
1 parent
c98cec7d2d
commit
30b63deaff
18 files changed
+121
-44
No files matched your search
@@ -8,7 +8,7 @@ class Getter {
|
||||
public @java.lang.SuppressWarnings("all") boolean isBar() {
|
||||
return this.isBar;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean hasBaz() {
|
||||
public @java.lang.SuppressWarnings("all") boolean isHasBaz() {
|
||||
return this.hasBaz;
|
||||
}
|
||||
Getter() {
|
||||
@@ -17,6 +17,9 @@ class Getter {
|
||||
}
|
||||
class MoreGetter {
|
||||
@lombok.Getter boolean foo;
|
||||
public @java.lang.SuppressWarnings("all") boolean isFoo() {
|
||||
return this.foo;
|
||||
}
|
||||
MoreGetter() {
|
||||
super();
|
||||
}
|
||||
@@ -24,3 +27,12 @@ class MoreGetter {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
class YetMoreGetter {
|
||||
@lombok.Getter boolean foo;
|
||||
YetMoreGetter() {
|
||||
super();
|
||||
}
|
||||
boolean getFoo() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user