diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/delombok/resource/after/ForEach.java | 9 | ||||
-rw-r--r-- | test/delombok/resource/before/ForEach.java | 9 | ||||
-rw-r--r-- | test/lombok/resource/after/PlainGetter.java | 10 | ||||
-rw-r--r-- | test/lombok/resource/before/PlainGetter.java | 6 |
4 files changed, 34 insertions, 0 deletions
diff --git a/test/delombok/resource/after/ForEach.java b/test/delombok/resource/after/ForEach.java new file mode 100644 index 00000000..c4d4a9dc --- /dev/null +++ b/test/delombok/resource/after/ForEach.java @@ -0,0 +1,9 @@ +import java.util.Arrays; +public class ForEach { + { + for (int i : Arrays.asList(1, 2, 3)) { + System.out.println(i); + // Do something + } + } +} diff --git a/test/delombok/resource/before/ForEach.java b/test/delombok/resource/before/ForEach.java new file mode 100644 index 00000000..c4d4a9dc --- /dev/null +++ b/test/delombok/resource/before/ForEach.java @@ -0,0 +1,9 @@ +import java.util.Arrays; +public class ForEach { + { + for (int i : Arrays.asList(1, 2, 3)) { + System.out.println(i); + // Do something + } + } +} diff --git a/test/lombok/resource/after/PlainGetter.java b/test/lombok/resource/after/PlainGetter.java new file mode 100644 index 00000000..04944df8 --- /dev/null +++ b/test/lombok/resource/after/PlainGetter.java @@ -0,0 +1,10 @@ +class Getter { + int i; + int foo; + public int getI() { + return i; + } + public int getFoo() { + return foo; + } +}
\ No newline at end of file diff --git a/test/lombok/resource/before/PlainGetter.java b/test/lombok/resource/before/PlainGetter.java new file mode 100644 index 00000000..2db1ee13 --- /dev/null +++ b/test/lombok/resource/before/PlainGetter.java @@ -0,0 +1,6 @@ +import lombok.Getter; + +class Getter { + @Getter int i; + @lombok.Getter int foo; +}
\ No newline at end of file |