aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/VarInForOld.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2016-11-21 21:06:37 +0100
committerRoel Spilker <r.spilker@gmail.com>2016-11-21 21:06:37 +0100
commit29e73a7915790ed27b2b68710dbe8e39f0e37e0d (patch)
tree6a2fda6b8714c7bef757ca35d4da8c010ece0eb9 /test/transform/resource/after-ecj/VarInForOld.java
parent192c569128d1ffb879fb104f44483e394032a790 (diff)
parent69eeb9edc767bb3ceb0320bb5a0ea60dfabe827c (diff)
downloadlombok-29e73a7915790ed27b2b68710dbe8e39f0e37e0d.tar.gz
lombok-29e73a7915790ed27b2b68710dbe8e39f0e37e0d.tar.bz2
lombok-29e73a7915790ed27b2b68710dbe8e39f0e37e0d.zip
Merge branch 'feature/var' of https://github.com/bulgakovalexander/lombok into bulgakovalexander-feature/var
Diffstat (limited to 'test/transform/resource/after-ecj/VarInForOld.java')
-rw-r--r--test/transform/resource/after-ecj/VarInForOld.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/VarInForOld.java b/test/transform/resource/after-ecj/VarInForOld.java
new file mode 100644
index 00000000..98fedf03
--- /dev/null
+++ b/test/transform/resource/after-ecj/VarInForOld.java
@@ -0,0 +1,12 @@
+import lombok.experimental.var;
+public class VarInForOld {
+ public VarInForOld() {
+ super();
+ }
+ public void oldFor() {
+ for (@var int i = 0;; (i < 100); ++ i)
+ {
+ System.out.println(i);
+ }
+ }
+} \ No newline at end of file