aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/GetterBoolean.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-22 01:33:24 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-22 01:33:24 +0200
commit483e23d3853aa37a19390019fcf0db97ac8bc1d4 (patch)
tree1794c6fc66136f962ee4c9c6a229e39c0af827e5 /test/transform/resource/after-ecj/GetterBoolean.java
parent59e585a0c68959eb72be34524bdad19df5dc8a4d (diff)
downloadlombok-483e23d3853aa37a19390019fcf0db97ac8bc1d4.tar.gz
lombok-483e23d3853aa37a19390019fcf0db97ac8bc1d4.tar.bz2
lombok-483e23d3853aa37a19390019fcf0db97ac8bc1d4.zip
Added tests for ecj, fixed a few minor bugs that came out of that.
Diffstat (limited to 'test/transform/resource/after-ecj/GetterBoolean.java')
-rw-r--r--test/transform/resource/after-ecj/GetterBoolean.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/GetterBoolean.java b/test/transform/resource/after-ecj/GetterBoolean.java
new file mode 100644
index 00000000..caf758c1
--- /dev/null
+++ b/test/transform/resource/after-ecj/GetterBoolean.java
@@ -0,0 +1,26 @@
+class Getter {
+ @lombok.Getter boolean foo;
+ @lombok.Getter boolean isBar;
+ @lombok.Getter boolean hasBaz;
+ Getter() {
+ super();
+ }
+ public @java.lang.SuppressWarnings("all") boolean isFoo() {
+ return this.foo;
+ }
+ public @java.lang.SuppressWarnings("all") boolean isBar() {
+ return this.isBar;
+ }
+ public @java.lang.SuppressWarnings("all") boolean hasBaz() {
+ return this.hasBaz;
+ }
+}
+class MoreGetter {
+ @lombok.Getter boolean foo;
+ MoreGetter() {
+ super();
+ }
+ boolean hasFoo() {
+ return true;
+ }
+}