1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@lombok.experimental.UtilityClass class UtilityClass { private String someField; void someMethod() { System.out.println(); } protected class InnerClass { private String innerInnerMember; } } class UtilityInner { static class InnerInner { @lombok.experimental.UtilityClass class InnerInnerInner { int member; } } }