mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
Copy reference types properly
This commit is contained in:
1 parent
a8f9b1dd35
commit
bd00fc4b83
4 files changed
+44
-5
No files matched your search
@@ -1,9 +1,16 @@
|
||||
import java.util.Map;
|
||||
import java.util.HashMap;
|
||||
import lombok.val;
|
||||
public class ValAnonymousSubclassSelfReference {
|
||||
public ValAnonymousSubclassSelfReference() {
|
||||
super();
|
||||
}
|
||||
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 @val int j = 1;
|
||||
final @val int k = 2;
|
||||
|
||||
Reference in new issue
Block a user