diff options
Diffstat (limited to 'test/transform/resource/after-delombok/ValAnonymousSubclassWithGenerics.java')
-rw-r--r-- | test/transform/resource/after-delombok/ValAnonymousSubclassWithGenerics.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ValAnonymousSubclassWithGenerics.java b/test/transform/resource/after-delombok/ValAnonymousSubclassWithGenerics.java new file mode 100644 index 00000000..25a9e0ce --- /dev/null +++ b/test/transform/resource/after-delombok/ValAnonymousSubclassWithGenerics.java @@ -0,0 +1,18 @@ +import java.util.*; +public class ValAnonymousSubclassWithGenerics { + Object object = new Object(){ + void foo() { + final int j = 1; + } + }; + void bar() { + final int k = super.hashCode(); + int x = k; + } + java.util.List<String> names = new java.util.ArrayList<String>(){ + public String get(int i) { + final java.lang.String result = super.get(i); + return result; + } + }; +} |