diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-02-07 21:33:29 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-02-07 21:35:34 +0100 |
commit | 30b63deaff82128ca8c3e7b59884b4fc2caf929c (patch) | |
tree | 7bed68accda1528297b1c6d5997fe50e3a4ae155 /test/transform/resource/after-ecj/GetterBoolean.java | |
parent | c98cec7d2ddceddcc0f127185912be4f826a6caa (diff) | |
download | lombok-30b63deaff82128ca8c3e7b59884b4fc2caf929c.tar.gz lombok-30b63deaff82128ca8c3e7b59884b4fc2caf929c.tar.bz2 lombok-30b63deaff82128ca8c3e7b59884b4fc2caf929c.zip |
Testcases updated with new behaviour of @Getter/@Setter on booleans.
Diffstat (limited to 'test/transform/resource/after-ecj/GetterBoolean.java')
-rw-r--r-- | test/transform/resource/after-ecj/GetterBoolean.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/GetterBoolean.java b/test/transform/resource/after-ecj/GetterBoolean.java index e9e4f370..121af119 100644 --- a/test/transform/resource/after-ecj/GetterBoolean.java +++ b/test/transform/resource/after-ecj/GetterBoolean.java @@ -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; + } +}
\ No newline at end of file |