View Javadoc
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   * The Interface AnAnnotation.
14   */
15  @Target({ FIELD, METHOD, TYPE, TYPE_USE })
16  @Retention(RUNTIME)
17  public @interface AnAnnotation {
18  
19      /**
20       * Integers.
21       *
22       * @return the int[]
23       */
24      int[] integers() default {};
25  
26      /**
27       * Value.
28       *
29       * @return the string
30       */
31      String value() default "test";
32  }