mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +00:00
[fixes #2420] Copy vartype.type
This commit is contained in:
1 parent
6758714ed5
commit
a8f9b1dd35
4 files changed
+39
No files matched your search
@@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user