mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
[fixes #3097] Update inner class type when creating a static class
This commit is contained in:
1 parent
36db0524e4
commit
7af752602a
4 files changed
+26
No files matched your search
@@ -5,11 +5,19 @@ final @lombok.experimental.UtilityClass class UtilityClass {
|
||||
super();
|
||||
}
|
||||
}
|
||||
protected static class InnerStaticClass {
|
||||
private String innerInnerMember;
|
||||
protected InnerStaticClass() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
private static long someField = System.currentTimeMillis();
|
||||
<clinit>() {
|
||||
}
|
||||
static void someMethod() {
|
||||
System.out.println();
|
||||
new InnerClass();
|
||||
new InnerStaticClass();
|
||||
}
|
||||
private @java.lang.SuppressWarnings("all") UtilityClass() {
|
||||
super();
|
||||
|
||||
Reference in new issue
Block a user