mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 00:16:47 +00:00
[UtilityClass] [issue #2384] Added a test to confirm no issue.
added some tests to confirm that lombok makes things static if needed.
This commit is contained in:
5 files changed
+27
-4
No files matched your search
@@ -0,0 +1,11 @@
|
||||
class UtilityClassInner {
|
||||
static final @lombok.experimental.UtilityClass class UtilClass {
|
||||
private @java.lang.SuppressWarnings("all") UtilClass() {
|
||||
super();
|
||||
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
|
||||
}
|
||||
}
|
||||
UtilityClassInner() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user