diff options
Diffstat (limited to 'test/transform/resource/after-delombok/UtilityClass.java')
-rw-r--r-- | test/transform/resource/after-delombok/UtilityClass.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/UtilityClass.java b/test/transform/resource/after-delombok/UtilityClass.java index f9fe02a0..eb7eef09 100644 --- a/test/transform/resource/after-delombok/UtilityClass.java +++ b/test/transform/resource/after-delombok/UtilityClass.java @@ -23,4 +23,26 @@ class UtilityInner { } } } + enum UtilityInsideEnum { + FOO, + BAR; + static final class InsideEnum { + static int member; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") + private InsideEnum() { + throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated"); + } + } + } + interface UtilityInsideInterface { + final class InsideInterface { + static int member; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") + private InsideInterface() { + throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated"); + } + } + } }
\ No newline at end of file |