mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 08:21:35 +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:
@@ -11,4 +11,12 @@ class UtilityClassErrors1 {
|
||||
}
|
||||
@lombok.experimental.UtilityClass
|
||||
enum UtilityClassErrors2 {
|
||||
}
|
||||
class UtilityClassErrors3 {
|
||||
class NonStaticInner {
|
||||
@lombok.experimental.UtilityClass
|
||||
class ThisShouldFail {
|
||||
private String member;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user