aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r--test/transform/resource/after-ecj/TypeUseAnnotations.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/TypeUseAnnotations.java b/test/transform/resource/after-ecj/TypeUseAnnotations.java
new file mode 100644
index 00000000..156643b9
--- /dev/null
+++ b/test/transform/resource/after-ecj/TypeUseAnnotations.java
@@ -0,0 +1,15 @@
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
+import java.util.List;
+@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
+ int x();
+}
+class TypeUseAnnotations {
+ @lombok.Getter List<@TA(x = 5) String> foo;
+ TypeUseAnnotations() {
+ super();
+ }
+ public @java.lang.SuppressWarnings("all") List<@TA(x = 5) String> getFoo() {
+ return this.foo;
+ }
+} \ No newline at end of file