aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/VarInFor.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/VarInFor.java')
-rw-r--r--test/transform/resource/after-delombok/VarInFor.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/VarInFor.java b/test/transform/resource/after-delombok/VarInFor.java
new file mode 100644
index 00000000..363aeeff
--- /dev/null
+++ b/test/transform/resource/after-delombok/VarInFor.java
@@ -0,0 +1,9 @@
+public class VarInFor {
+ public void enhancedFor() {
+ int[] list = new int[] {1, 2};
+ for (int shouldBeInt : list) {
+ System.out.println(shouldBeInt);
+ int shouldBeInt2 = shouldBeInt;
+ }
+ }
+} \ No newline at end of file