diff options
Diffstat (limited to 'test/transform/resource')
3 files changed, 23 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/UtilityClassInner.java b/test/transform/resource/after-delombok/UtilityClassInner.java new file mode 100644 index 00000000..72f1656a --- /dev/null +++ b/test/transform/resource/after-delombok/UtilityClassInner.java @@ -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"); + } + } +}
\ No newline at end of file diff --git a/test/transform/resource/after-ecj/UtilityClassInner.java b/test/transform/resource/after-ecj/UtilityClassInner.java new file mode 100644 index 00000000..eebc5d13 --- /dev/null +++ b/test/transform/resource/after-ecj/UtilityClassInner.java @@ -0,0 +1,11 @@ +class UtilityClassInner { + static final @lombok.experimental.UtilityClass class UtilClass { + private @java.lang.SuppressWarnings("all") UtilClass() { + super(); + throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated"); + } + } + UtilityClassInner() { + super(); + } +}
\ No newline at end of file diff --git a/test/transform/resource/before/UtilityClassInner.java b/test/transform/resource/before/UtilityClassInner.java new file mode 100644 index 00000000..ccb0101b --- /dev/null +++ b/test/transform/resource/before/UtilityClassInner.java @@ -0,0 +1,4 @@ +class UtilityClassInner { + @lombok.experimental.UtilityClass + class UtilClass {} +}
\ No newline at end of file |