aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ValAnonymousSubclassSelfReference.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/ValAnonymousSubclassSelfReference.java')
-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