View Javadoc
1   /*
2    * MIT License
3    * Copyright (c) 2006-2025 JMockit developers
4    * See LICENSE file for full license text.
5    */
6   package integration.tests;
7   
8   import static java.lang.annotation.ElementType.FIELD;
9   import static java.lang.annotation.ElementType.METHOD;
10  import static java.lang.annotation.ElementType.TYPE;
11  import static java.lang.annotation.ElementType.TYPE_USE;
12  import static java.lang.annotation.RetentionPolicy.RUNTIME;
13  
14  import java.lang.annotation.Retention;
15  import java.lang.annotation.Target;
16  
17  /**
18   * The Interface AnAnnotation.
19   */
20  @Target({ FIELD, METHOD, TYPE, TYPE_USE })
21  @Retention(RUNTIME)
22  public @interface AnAnnotation {
23  
24      /**
25       * Integers.
26       *
27       * @return the int[]
28       */
29      int[] integers() default {};
30  
31      /**
32       * Value.
33       *
34       * @return the string
35       */
36      String value() default "test";
37  }