1 package integrationTests;
2
3 import static java.lang.annotation.ElementType.FIELD;
4 import static java.lang.annotation.ElementType.METHOD;
5 import static java.lang.annotation.ElementType.TYPE;
6 import static java.lang.annotation.ElementType.TYPE_USE;
7 import static java.lang.annotation.RetentionPolicy.RUNTIME;
8
9 import java.lang.annotation.Retention;
10 import java.lang.annotation.Target;
11
12
13
14
15 @Target({ FIELD, METHOD, TYPE, TYPE_USE })
16 @Retention(RUNTIME)
17 public @interface AnAnnotation {
18
19
20
21
22
23
24 int[] integers() default {};
25
26
27
28
29
30
31 String value() default "test";
32 }