1 package org.checkstyle.suppressionxpathfilter.annotationlocation; 2 3 import java.lang.annotation.ElementType; 4 import java.lang.annotation.Target; 5 6 @EnumAnnotation("bar") enum InputXpathAnnotationLocationEnum { //warn 7 8 SuppressionXpathRegressionAnnotationLocationEnum() { 9 } 10 11 } 12 13 @Target({ElementType.FIELD, ElementType.TYPE}) 14 @interface EnumAnnotation { 15 16 String value() default ""; 17 18 }