mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-15 20:20:36 +00:00
added some tests to confirm that lombok makes things static if needed.
11 lines
332 B
Java
11 lines
332 B
Java
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();
|
|
}
|
|
} |