aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/MixGetterVal.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/MixGetterVal.java')
-rw-r--r--test/transform/resource/before/MixGetterVal.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/MixGetterVal.java b/test/transform/resource/before/MixGetterVal.java
new file mode 100644
index 00000000..f80d2927
--- /dev/null
+++ b/test/transform/resource/before/MixGetterVal.java
@@ -0,0 +1,12 @@
+import lombok.Getter;
+import lombok.val;
+
+class MixGetterVal {
+ @Getter private int x;
+
+ public void m(int z) {}
+ public void test() {
+ val y = x;
+ m(y);
+ }
+}