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,33 @@
final @lombok.experimental.UtilityClass class UtilityClass {
protected static class InnerClass {
private String innerInnerMember;
protected InnerClass() {
super();
}
}
private static String someField;
static void someMethod() {
System.out.println();
}
private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") UtilityClass() {
super();
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
}
class UtilityInner {
static class InnerInner {
static final @lombok.experimental.UtilityClass class InnerInnerInner {
static int member;
private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") InnerInnerInner() {
super();
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
}
InnerInner() {
super();
}
}
UtilityInner() {
super();
}
}