mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 14:16:11 +00:00
Created testcase for i376
This commit is contained in:
1 parent
775abd485d
commit
6355ca8e5e
3 files changed
+145
No files matched your search
@@ -0,0 +1,13 @@
|
||||
@lombok.EqualsAndHashCode(of="booleanValue")
|
||||
@lombok.ToString(of="booleanValue")
|
||||
class GetterLazyBoolean {
|
||||
@lombok.Getter(lazy=true)
|
||||
private final boolean booleanValue = calculateBoolean();
|
||||
|
||||
@lombok.Getter(lazy=true)
|
||||
private final boolean otherBooleanValue = !calculateBoolean();
|
||||
|
||||
private static boolean calculateBoolean() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user