aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ValAnonymousSubclassSelfReference.java
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-05-14 23:06:20 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2021-05-14 23:06:20 +0200
commitbd00fc4b83dd758c4369c8da97243691c04ac3fa (patch)
tree541c207a7ebc452f674f48975921f0828ded9c9e /test/transform/resource/after-delombok/ValAnonymousSubclassSelfReference.java
parenta8f9b1dd359dbbcd63bffe891c5f00a9a2ac1f60 (diff)
downloadlombok-bd00fc4b83dd758c4369c8da97243691c04ac3fa.tar.gz
lombok-bd00fc4b83dd758c4369c8da97243691c04ac3fa.tar.bz2
lombok-bd00fc4b83dd758c4369c8da97243691c04ac3fa.zip
Copy reference types properly
Diffstat (limited to 'test/transform/resource/after-delombok/ValAnonymousSubclassSelfReference.java')
-rw-r--r--test/transform/resource/after-delombok/ValAnonymousSubclassSelfReference.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/ValAnonymousSubclassSelfReference.java b/test/transform/resource/after-delombok/ValAnonymousSubclassSelfReference.java
index 4532ec28..a1176a3c 100644
--- a/test/transform/resource/after-delombok/ValAnonymousSubclassSelfReference.java
+++ b/test/transform/resource/after-delombok/ValAnonymousSubclassSelfReference.java
@@ -1,5 +1,13 @@
+import java.util.Map;
+import java.util.HashMap;
+
public class ValAnonymousSubclassSelfReference {
- public void test() {
+ public <T> void test(T arg) {
+ T d = arg;
+ Integer[] e = new Integer[1];
+ int[] f = new int[0];
+ java.util.Map<java.lang.String, Integer> g = new HashMap<String, Integer>();
+ Integer h = 0;
int i = 0;
final int j = 1;
final int k = 2;