aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ValInFor.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/ValInFor.java')
-rw-r--r--test/transform/resource/after-ecj/ValInFor.java15
1 files changed, 14 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/ValInFor.java b/test/transform/resource/after-ecj/ValInFor.java
index cb06d3c1..1b6c13d0 100644
--- a/test/transform/resource/after-ecj/ValInFor.java
+++ b/test/transform/resource/after-ecj/ValInFor.java
@@ -1 +1,14 @@
-//ignore \ No newline at end of file
+import lombok.val;
+public class ValInFor {
+ public ValInFor() {
+ super();
+ }
+ public void enhancedFor() {
+ java.util.List<String> list = java.util.Arrays.asList("Hello, World!");
+ for (final @val java.lang.String shouldBeString : list)
+ {
+ System.out.println(shouldBeString.toLowerCase());
+ final @val java.lang.String shouldBeString2 = shouldBeString;
+ }
+ }
+} \ No newline at end of file