aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/ValInBasicFor.java10
-rw-r--r--test/transform/resource/before/ValInMultiDeclaration.java6
2 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/before/ValInBasicFor.java b/test/transform/resource/before/ValInBasicFor.java
new file mode 100644
index 00000000..1f132b8f
--- /dev/null
+++ b/test/transform/resource/before/ValInBasicFor.java
@@ -0,0 +1,10 @@
+import lombok.val;
+
+public class ValInBasicFor {
+ public void basicFor() {
+ java.util.List<String> list = java.util.Arrays.asList("Hello, World!");
+ for (val shouldBe = 1, marked = "", error = 1.0; ; ) {
+ System.out.println("");
+ }
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/before/ValInMultiDeclaration.java b/test/transform/resource/before/ValInMultiDeclaration.java
new file mode 100644
index 00000000..1c333ebb
--- /dev/null
+++ b/test/transform/resource/before/ValInMultiDeclaration.java
@@ -0,0 +1,6 @@
+import lombok.val;
+public class ValInMultiDeclaration {
+ public void test() {
+ val x = 10, y = "";
+ }
+} \ No newline at end of file