aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-05-12 09:03:57 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2021-05-12 09:08:34 +0200
commita8f9b1dd359dbbcd63bffe891c5f00a9a2ac1f60 (patch)
tree3ae54c09404fe190e1d485fda9689a54e6a5d65d /test/transform/resource/after-ecj
parent6758714ed564d72236564889157c4812eacb96fb (diff)
downloadlombok-a8f9b1dd359dbbcd63bffe891c5f00a9a2ac1f60.tar.gz
lombok-a8f9b1dd359dbbcd63bffe891c5f00a9a2ac1f60.tar.bz2
lombok-a8f9b1dd359dbbcd63bffe891c5f00a9a2ac1f60.zip
[fixes #2420] Copy vartype.type
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r--test/transform/resource/after-ecj/ValAnonymousSubclassSelfReference.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ValAnonymousSubclassSelfReference.java b/test/transform/resource/after-ecj/ValAnonymousSubclassSelfReference.java
new file mode 100644
index 00000000..8a3c7fa8
--- /dev/null
+++ b/test/transform/resource/after-ecj/ValAnonymousSubclassSelfReference.java
@@ -0,0 +1,16 @@
+import lombok.val;
+public class ValAnonymousSubclassSelfReference {
+ public ValAnonymousSubclassSelfReference() {
+ super();
+ }
+ public void test() {
+ int i = 0;
+ final @val int j = 1;
+ final @val int k = 2;
+ new ValAnonymousSubclassSelfReference() {
+ x() {
+ super();
+ }
+ };
+ }
+} \ No newline at end of file