diff options
author | peichhorn <peichhor@web.de> | 2011-06-01 02:44:53 +0200 |
---|---|---|
committer | peichhorn <peichhor@web.de> | 2011-06-01 02:44:53 +0200 |
commit | 850c3eaf07cd4beb2276b5e10296132b6ed3d7a6 (patch) | |
tree | 0c655e95d0979a2e2a500eafc4bb8011f892f9ab /test/transform/resource/after-eclipse/GetterAlreadyExists.java | |
parent | aa96fcbc7724ccd0306b6df0b1aaa9f86aa1d507 (diff) | |
download | lombok-850c3eaf07cd4beb2276b5e10296132b6ed3d7a6.tar.gz lombok-850c3eaf07cd4beb2276b5e10296132b6ed3d7a6.tar.bz2 lombok-850c3eaf07cd4beb2276b5e10296132b6ed3d7a6.zip |
Added a test infrastructure that simulates eclipse with diet-parse, type-binding and so forth. Similar to eclipse, the test needs to be executed with lombok as vm-agent. @Delegate runs with this setup, sadly val does not, at least for now.
And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj.
Diffstat (limited to 'test/transform/resource/after-eclipse/GetterAlreadyExists.java')
-rw-r--r-- | test/transform/resource/after-eclipse/GetterAlreadyExists.java | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/test/transform/resource/after-eclipse/GetterAlreadyExists.java b/test/transform/resource/after-eclipse/GetterAlreadyExists.java new file mode 100644 index 00000000..257457bb --- /dev/null +++ b/test/transform/resource/after-eclipse/GetterAlreadyExists.java @@ -0,0 +1,192 @@ +class Getter1 { + @lombok.Getter boolean foo; + public @java.lang.SuppressWarnings("all") boolean isFoo() { + return this.foo; + } + Getter1() { + super(); + } + boolean hasFoo() { + return true; + } +} +class Getter2 { + @lombok.Getter boolean foo; + Getter2() { + super(); + } + boolean isFoo() { + return true; + } +} +class Getter3 { + @lombok.Getter boolean foo; + Getter3() { + super(); + } + boolean getFoo() { + return true; + } +} +class Getter4 { + @lombok.Getter String foo; + public @java.lang.SuppressWarnings("all") String getFoo() { + return this.foo; + } + Getter4() { + super(); + } + String hasFoo() { + return null; + } +} +class Getter5 { + @lombok.Getter String foo; + public @java.lang.SuppressWarnings("all") String getFoo() { + return this.foo; + } + Getter5() { + super(); + } + String isFoo() { + return null; + } +} +class Getter6 { + @lombok.Getter String foo; + Getter6() { + super(); + } + String getFoo() { + return null; + } +} +class Getter7 { + @lombok.Getter String foo; + public @java.lang.SuppressWarnings("all") String getFoo() { + return this.foo; + } + Getter7() { + super(); + } + boolean hasFoo() { + return false; + } +} +class Getter8 { + @lombok.Getter String foo; + public @java.lang.SuppressWarnings("all") String getFoo() { + return this.foo; + } + Getter8() { + super(); + } + boolean isFoo() { + return false; + } +} +class Getter9 { + @lombok.Getter String foo; + Getter9() { + super(); + } + boolean getFoo() { + return false; + } +} +class Getter10 { + @lombok.Getter boolean foo; + public @java.lang.SuppressWarnings("all") boolean isFoo() { + return this.foo; + } + Getter10() { + super(); + } + static boolean hasFoo() { + return false; + } +} +class Getter11 { + @lombok.Getter boolean foo; + Getter11() { + super(); + } + static boolean isFoo() { + return false; + } +} +class Getter12 { + @lombok.Getter boolean foo; + Getter12() { + super(); + } + static boolean getFoo() { + return false; + } +} +class Getter13 { + @lombok.Getter String foo; + public @java.lang.SuppressWarnings("all") String getFoo() { + return this.foo; + } + Getter13() { + super(); + } + static boolean hasFoo() { + return false; + } +} +class Getter14 { + @lombok.Getter String foo; + public @java.lang.SuppressWarnings("all") String getFoo() { + return this.foo; + } + Getter14() { + super(); + } + static boolean isFoo() { + return false; + } +} +class Getter15 { + @lombok.Getter String foo; + Getter15() { + super(); + } + static boolean getFoo() { + return false; + } +} +class Getter16 { + @lombok.Getter String foo; + public @java.lang.SuppressWarnings("all") String getFoo() { + return this.foo; + } + Getter16() { + super(); + } + static String hasFoo() { + return false; + } +} +class Getter17 { + @lombok.Getter String foo; + public @java.lang.SuppressWarnings("all") String getFoo() { + return this.foo; + } + Getter17() { + super(); + } + static String isFoo() { + return false; + } +} +class Getter18 { + @lombok.Getter String foo; + Getter18() { + super(); + } + static String getFoo() { + return false; + } +} |