aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/UtilityClass.java20
-rw-r--r--test/transform/resource/before/UtilityClassErrors.java14
2 files changed, 34 insertions, 0 deletions
diff --git a/test/transform/resource/before/UtilityClass.java b/test/transform/resource/before/UtilityClass.java
new file mode 100644
index 00000000..ccfa43e1
--- /dev/null
+++ b/test/transform/resource/before/UtilityClass.java
@@ -0,0 +1,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;
+ }
+ }
+}
diff --git a/test/transform/resource/before/UtilityClassErrors.java b/test/transform/resource/before/UtilityClassErrors.java
new file mode 100644
index 00000000..5f72274b
--- /dev/null
+++ b/test/transform/resource/before/UtilityClassErrors.java
@@ -0,0 +1,14 @@
+@lombok.experimental.UtilityClass
+class UtilityClassErrors1 {
+ private String someField;
+ protected UtilityClassErrors1() {
+ }
+ void method() {
+ @lombok.experimental.UtilityClass
+ class MethodLocalClass {
+ }
+ }
+}
+@lombok.experimental.UtilityClass
+enum UtilityClassErrors2 {
+} \ No newline at end of file