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/BuilderTypeAnnos.java14
-rw-r--r--test/transform/resource/before/BuilderTypeAnnosCopy.java14
-rw-r--r--test/transform/resource/before/BuilderTypeAnnosNoCopy.java12
-rw-r--r--test/transform/resource/before/ConstructorsTypeAnnos.java14
-rw-r--r--test/transform/resource/before/ConstructorsTypeAnnosCopy.java14
-rw-r--r--test/transform/resource/before/ConstructorsTypeAnnosNoCopy.java12
-rw-r--r--test/transform/resource/before/GetterTypeAnnos.java15
-rw-r--r--test/transform/resource/before/GetterTypeAnnosCopy.java16
-rw-r--r--test/transform/resource/before/GetterTypeAnnosNoCopy.java14
-rw-r--r--test/transform/resource/before/SetterTypeAnnos.java15
-rw-r--r--test/transform/resource/before/SetterTypeAnnosCopy.java16
-rw-r--r--test/transform/resource/before/SetterTypeAnnosNoCopy.java14
-rw-r--r--test/transform/resource/before/WitherTypeAnnos.java18
-rw-r--r--test/transform/resource/before/WitherTypeAnnosCopy.java19
-rw-r--r--test/transform/resource/before/WitherTypeAnnosNoCopy.java17
15 files changed, 76 insertions, 148 deletions
diff --git a/test/transform/resource/before/BuilderTypeAnnos.java b/test/transform/resource/before/BuilderTypeAnnos.java
new file mode 100644
index 00000000..6b7bc1d8
--- /dev/null
+++ b/test/transform/resource/before/BuilderTypeAnnos.java
@@ -0,0 +1,14 @@
+//CONF: lombok.copyableAnnotations += TA
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
+import java.util.List;
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TA {
+}
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TB {
+}
+@lombok.Builder
+class BuilderTypeAnnos {
+ private @TA @TB List<String> foo;
+}
diff --git a/test/transform/resource/before/BuilderTypeAnnosCopy.java b/test/transform/resource/before/BuilderTypeAnnosCopy.java
deleted file mode 100644
index e5ea9e41..00000000
--- a/test/transform/resource/before/BuilderTypeAnnosCopy.java
+++ /dev/null
@@ -1,14 +0,0 @@
-//CONF: lombok.copyAnnotations += TA
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-@lombok.Builder
-class BuilderTypeAnnos {
- private @TA List<@TA String> foo;
-}
diff --git a/test/transform/resource/before/BuilderTypeAnnosNoCopy.java b/test/transform/resource/before/BuilderTypeAnnosNoCopy.java
deleted file mode 100644
index 2defba7b..00000000
--- a/test/transform/resource/before/BuilderTypeAnnosNoCopy.java
+++ /dev/null
@@ -1,12 +0,0 @@
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-@lombok.Builder
-class BuilderTypeAnnos {
- private @TA List<@TA String> foo;
-}
diff --git a/test/transform/resource/before/ConstructorsTypeAnnos.java b/test/transform/resource/before/ConstructorsTypeAnnos.java
new file mode 100644
index 00000000..d767f321
--- /dev/null
+++ b/test/transform/resource/before/ConstructorsTypeAnnos.java
@@ -0,0 +1,14 @@
+//CONF: lombok.copyableAnnotations += TA
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
+import java.util.List;
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TA {
+}
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TB {
+}
+@lombok.AllArgsConstructor
+class ConstructorsTypeAnnos {
+ @TA @TB List<String> foo;
+}
diff --git a/test/transform/resource/before/ConstructorsTypeAnnosCopy.java b/test/transform/resource/before/ConstructorsTypeAnnosCopy.java
deleted file mode 100644
index 229927c3..00000000
--- a/test/transform/resource/before/ConstructorsTypeAnnosCopy.java
+++ /dev/null
@@ -1,14 +0,0 @@
-//CONF: lombok.copyAnnotations += TA
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-@lombok.AllArgsConstructor
-class ConstructorsTypeAnnos {
- @TA List<@TA String> foo;
-}
diff --git a/test/transform/resource/before/ConstructorsTypeAnnosNoCopy.java b/test/transform/resource/before/ConstructorsTypeAnnosNoCopy.java
deleted file mode 100644
index 7bc27008..00000000
--- a/test/transform/resource/before/ConstructorsTypeAnnosNoCopy.java
+++ /dev/null
@@ -1,12 +0,0 @@
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-@lombok.AllArgsConstructor
-class ConstructorsTypeAnnos {
- @TA List<@TA String> foo;
-}
diff --git a/test/transform/resource/before/GetterTypeAnnos.java b/test/transform/resource/before/GetterTypeAnnos.java
new file mode 100644
index 00000000..34177503
--- /dev/null
+++ b/test/transform/resource/before/GetterTypeAnnos.java
@@ -0,0 +1,15 @@
+//CONF: lombok.copyableAnnotations += TA
+import lombok.Getter;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
+import java.util.List;
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TA {
+}
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TB {
+}
+class GetterTypeAnnos {
+ @Getter
+ @TA @TB List<String> foo;
+}
diff --git a/test/transform/resource/before/GetterTypeAnnosCopy.java b/test/transform/resource/before/GetterTypeAnnosCopy.java
deleted file mode 100644
index b48b8337..00000000
--- a/test/transform/resource/before/GetterTypeAnnosCopy.java
+++ /dev/null
@@ -1,16 +0,0 @@
-//CONF: lombok.copyAnnotations += TA
-
-import lombok.Getter;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-class GetterTypeAnnos {
- @Getter
- @TA List<@TA String> foo;
-}
diff --git a/test/transform/resource/before/GetterTypeAnnosNoCopy.java b/test/transform/resource/before/GetterTypeAnnosNoCopy.java
deleted file mode 100644
index bf4d9486..00000000
--- a/test/transform/resource/before/GetterTypeAnnosNoCopy.java
+++ /dev/null
@@ -1,14 +0,0 @@
-import lombok.Getter;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-class GetterTypeAnnos {
- @Getter
- @TA List<@TA String> foo;
-}
diff --git a/test/transform/resource/before/SetterTypeAnnos.java b/test/transform/resource/before/SetterTypeAnnos.java
new file mode 100644
index 00000000..8031136d
--- /dev/null
+++ b/test/transform/resource/before/SetterTypeAnnos.java
@@ -0,0 +1,15 @@
+//CONF: lombok.copyableAnnotations += TA
+import lombok.Setter;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
+import java.util.List;
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TA {
+}
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TB {
+}
+class SetterTypeAnnos {
+ @Setter
+ @TA @TB List<String> foo;
+}
diff --git a/test/transform/resource/before/SetterTypeAnnosCopy.java b/test/transform/resource/before/SetterTypeAnnosCopy.java
deleted file mode 100644
index d9d086f0..00000000
--- a/test/transform/resource/before/SetterTypeAnnosCopy.java
+++ /dev/null
@@ -1,16 +0,0 @@
-//CONF: lombok.copyAnnotations += TA
-
-import lombok.Setter;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-class SetterTypeAnnos {
- @Setter
- @TA List<@TA String> foo;
-}
diff --git a/test/transform/resource/before/SetterTypeAnnosNoCopy.java b/test/transform/resource/before/SetterTypeAnnosNoCopy.java
deleted file mode 100644
index e3666543..00000000
--- a/test/transform/resource/before/SetterTypeAnnosNoCopy.java
+++ /dev/null
@@ -1,14 +0,0 @@
-import lombok.Setter;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-class SetterTypeAnnos {
- @Setter
- @TA List<@TA String> foo;
-}
diff --git a/test/transform/resource/before/WitherTypeAnnos.java b/test/transform/resource/before/WitherTypeAnnos.java
new file mode 100644
index 00000000..97cd3d9f
--- /dev/null
+++ b/test/transform/resource/before/WitherTypeAnnos.java
@@ -0,0 +1,18 @@
+//CONF: lombok.copyableAnnotations += TA
+import lombok.experimental.Wither;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
+import java.util.List;
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TA {
+}
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@interface TB {
+}
+class WitherTypeAnnos {
+ @Wither final @TA @TB List<String> foo;
+
+ WitherTypeAnnos(@TA @TB List<String> foo) {
+ this.foo = foo;
+ }
+}
diff --git a/test/transform/resource/before/WitherTypeAnnosCopy.java b/test/transform/resource/before/WitherTypeAnnosCopy.java
deleted file mode 100644
index 645682f5..00000000
--- a/test/transform/resource/before/WitherTypeAnnosCopy.java
+++ /dev/null
@@ -1,19 +0,0 @@
-//CONF: lombok.copyAnnotations += TA
-
-import lombok.experimental.Wither;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-class WitherTypeAnnos {
- @Wither final @TA List<@TA String> foo;
-
- WitherTypeAnnos(@TA List<@TA String> foo) {
- this.foo = foo;
- }
-}
diff --git a/test/transform/resource/before/WitherTypeAnnosNoCopy.java b/test/transform/resource/before/WitherTypeAnnosNoCopy.java
deleted file mode 100644
index d278af55..00000000
--- a/test/transform/resource/before/WitherTypeAnnosNoCopy.java
+++ /dev/null
@@ -1,17 +0,0 @@
-import lombok.experimental.Wither;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-import java.util.List;
-
-@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
-@interface TA {
-}
-
-class WitherTypeAnnos {
- @Wither final @TA List<@TA String> foo;
-
- WitherTypeAnnos(@TA List<@TA String> foo) {
- this.foo = foo;
- }
-}