View Javadoc
1   /*
2   No config
3   
4   
5   */
6   
7   package com.puppycrawl.tools.checkstyle.checks.annotation.annotationlocation.inputs;
8   
9   import java.lang.annotation.ElementType;
10  import java.lang.annotation.Repeatable;
11  import java.lang.annotation.Target;
12  
13  /**
14   * This is not a test-input. Actual test input is in the file package-info.java.
15   */
16  
17  @Target(ElementType.PACKAGE)
18  @interface PackageAnnotations {
19  
20      PackageAnnotation[] value();
21  
22  }
23  
24  @Repeatable(PackageAnnotations.class)
25  @Target(ElementType.PACKAGE)
26  @interface PackageAnnotation  {
27  
28      String value() default  "";
29  
30  }