Created testcase for i376

This commit is contained in:
Roel Spilker committed 2012-06-18 23:38:00 +02:00
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;
}
}