diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/transform/resource/after-delombok/MixGetterVal.java | 13 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/MixGetterVal.java | 17 | ||||
-rw-r--r-- | test/transform/resource/before/MixGetterVal.java | 12 |
3 files changed, 42 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/MixGetterVal.java b/test/transform/resource/after-delombok/MixGetterVal.java new file mode 100644 index 00000000..7662608b --- /dev/null +++ b/test/transform/resource/after-delombok/MixGetterVal.java @@ -0,0 +1,13 @@ +class MixGetterVal { + private int x; + public void m(int z) { + } + public void test() { + final int y = x; + m(y); + } + @java.lang.SuppressWarnings("all") + public int getX() { + return this.x; + } +}
\ No newline at end of file diff --git a/test/transform/resource/after-ecj/MixGetterVal.java b/test/transform/resource/after-ecj/MixGetterVal.java new file mode 100644 index 00000000..45fcf989 --- /dev/null +++ b/test/transform/resource/after-ecj/MixGetterVal.java @@ -0,0 +1,17 @@ +import lombok.Getter; +import lombok.val; +class MixGetterVal { + private @Getter int x; + MixGetterVal() { + super(); + } + public void m(int z) { + } + public void test() { + final @val int y = x; + m(y); + } + public @java.lang.SuppressWarnings("all") int getX() { + return this.x; + } +}
\ No newline at end of file diff --git a/test/transform/resource/before/MixGetterVal.java b/test/transform/resource/before/MixGetterVal.java new file mode 100644 index 00000000..f80d2927 --- /dev/null +++ b/test/transform/resource/before/MixGetterVal.java @@ -0,0 +1,12 @@ +import lombok.Getter; +import lombok.val; + +class MixGetterVal { + @Getter private int x; + + public void m(int z) {} + public void test() { + val y = x; + m(y); + } +} |