[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,8 @@
class UtilityClassInner {
static final class UtilClass {
@java.lang.SuppressWarnings("all")
private UtilClass() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
}
}