added impl for @UtilityClass.

This commit is contained in:
Reinier Zwitserloot committed 2015-02-02 04:52:20 +01:00
1 parent 46ce592dff
commit d8da2b9438
18 files changed
+480 -52

No files matched your search

@@ -0,0 +1,26 @@
final class UtilityClass {
private static String someField;
static void someMethod() {
System.out.println();
}
protected static class InnerClass {
private String innerInnerMember;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private UtilityClass() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
}
class UtilityInner {
static class InnerInner {
static final class InnerInnerInner {
static int member;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private InnerInnerInner() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
}
}
}