mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +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
@@ -1,3 +1,4 @@
|
||||
4 @UtilityClasses cannot have declared constructors.
|
||||
7 @UtilityClass cannot be placed on a method local or anonymous inner class, or any class nested in such a class.
|
||||
12 @UtilityClass is only supported on a class (can't be an interface, enum, or annotation)
|
||||
12 @UtilityClass is only supported on a class (can't be an interface, enum, or annotation)
|
||||
17 @UtilityClass automatically makes the class static, however, this class cannot be made static.
|
||||
Reference in new issue
Block a user