View Javadoc
1   package org.checkstyle.suppressionxpathfilter.annotationlocation;
2   
3   import java.lang.annotation.ElementType;
4   import java.lang.annotation.Repeatable;
5   import java.lang.annotation.Target;
6   
7   @InterfaceAnnotation("bar") interface InputXpathAnnotationLocationInterface { //warn
8   
9   }
10  
11  @Repeatable(InterfaceAnnotations.class)
12  @Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE})
13  @interface InterfaceAnnotation  {
14  
15      String value() default "";
16  
17  }
18  
19  @Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE})
20  @interface InterfaceAnnotations {
21  
22      InterfaceAnnotation[] value();
23  
24  }
25