aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/after-delombok/DataOnEnum.java17
-rw-r--r--test/transform/resource/after-ecj/DataOnEnum.java16
-rw-r--r--test/transform/resource/before/DataOnEnum.java7
3 files changed, 40 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/DataOnEnum.java b/test/transform/resource/after-delombok/DataOnEnum.java
new file mode 100644
index 00000000..5cfe8823
--- /dev/null
+++ b/test/transform/resource/after-delombok/DataOnEnum.java
@@ -0,0 +1,17 @@
+public enum DataOnEnum {
+ A("hello");
+ private final String someField;
+ @java.lang.SuppressWarnings("all")
+ public String getSomeField() {
+ return this.someField;
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ public java.lang.String toString() {
+ return "DataOnEnum(someField=" + this.getSomeField() + ")";
+ }
+ @java.lang.SuppressWarnings("all")
+ private DataOnEnum(final String someField) {
+ this.someField = someField;
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/DataOnEnum.java b/test/transform/resource/after-ecj/DataOnEnum.java
new file mode 100644
index 00000000..8bab5925
--- /dev/null
+++ b/test/transform/resource/after-ecj/DataOnEnum.java
@@ -0,0 +1,16 @@
+public @lombok.Getter @lombok.ToString @lombok.RequiredArgsConstructor enum DataOnEnum {
+ A("hello"),
+ private final String someField;
+ <clinit>() {
+ }
+ private @java.lang.SuppressWarnings("all") DataOnEnum(final String someField) {
+ super();
+ this.someField = someField;
+ }
+ public @java.lang.SuppressWarnings("all") String getSomeField() {
+ return this.someField;
+ }
+ public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
+ return (("DataOnEnum(someField=" + this.getSomeField()) + ")");
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/before/DataOnEnum.java b/test/transform/resource/before/DataOnEnum.java
new file mode 100644
index 00000000..e10c93eb
--- /dev/null
+++ b/test/transform/resource/before/DataOnEnum.java
@@ -0,0 +1,7 @@
+@lombok.Getter
+@lombok.ToString
+@lombok.RequiredArgsConstructor
+public enum DataOnEnum {
+ A("hello");
+ private final String someField;
+} \ No newline at end of file