mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 08:15:48 +00:00
@UtilityClass handlers now more intelligent about inner types of implicitly static contexts (enums, interfaces, and annotation declarations). Also added tests to test for these.
This commit is contained in:
1 parent
74b38cd7d6
commit
58a7914027
11 files changed
+126
-25
No files matched your search
@@ -18,3 +18,19 @@ final @lombok.experimental.UtilityClass class UtilityClassErrors1 {
|
||||
super();
|
||||
}
|
||||
}
|
||||
class UtilityClassErrors3 {
|
||||
class NonStaticInner {
|
||||
@lombok.experimental.UtilityClass class ThisShouldFail {
|
||||
private String member;
|
||||
ThisShouldFail() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
NonStaticInner() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
UtilityClassErrors3() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user