aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test4/GetAllRef.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test4/GetAllRef.java')
-rw-r--r--src/test/test4/GetAllRef.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/test/test4/GetAllRef.java b/src/test/test4/GetAllRef.java
new file mode 100644
index 00000000..c19bfabd
--- /dev/null
+++ b/src/test/test4/GetAllRef.java
@@ -0,0 +1,33 @@
+package test4;
+
+enum GetAllRefEnum { A, B };
+
+@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
+@interface GetAllRefAnno {
+ GetAllRefEnum getA();
+ Class getC();
+}
+
+@interface GetAllRefAnnoC {}
+
+@interface GetAllRefAnnoC2 {}
+
+@interface GetAllRefAnnoC3 {}
+
+@interface GetAllRefAnnoC4 {}
+
+@GetAllRefAnno(getA = GetAllRefEnum.A, getC = String.class)
+public class GetAllRef {
+}
+
+@GetAllRefAnno(getA = GetAllRefEnum.A, getC = String.class)
+class GetAllRefB {
+}
+
+@GetAllRefAnno(getA = GetAllRefEnum.A, getC = String.class)
+class GetAllRefC {
+ void bar(@GetAllRefAnnoC3 int i, int j,
+ @GetAllRefAnnoC2 @GetAllRefAnnoC4 boolean b) {}
+ @GetAllRefAnnoC void foo() {}
+ @GetAllRefAnnoC2 int value;
+}