[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:
Reinier Zwitserloot committed 2020-03-15 06:59:31 +01:00
1 parent 3edac64911
commit 94440a8bd7
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();
}
}