Home | History | Annotate | Download | only in matcher

Lines Matching defs:annotationType

97       Class<? extends Annotation> annotationType) {
98 Retention retention = annotationType.getAnnotation(Retention.class);
100 "Annotation %s is missing RUNTIME retention", annotationType.getSimpleName());
108 final Class<? extends Annotation> annotationType) {
109 return new AnnotatedWithType(annotationType);
114 private final Class<? extends Annotation> annotationType;
116 public AnnotatedWithType(Class<? extends Annotation> annotationType) {
117 this.annotationType = checkNotNull(annotationType, "annotation type");
118 checkForRuntimeRetention(annotationType);
122 return element.isAnnotationPresent(annotationType);
127 && ((AnnotatedWithType) other).annotationType.equals(annotationType);
131 return 37 * annotationType.hashCode();
135 return "annotatedWith(" + annotationType.getSimpleName() + ".class)";
156 checkForRuntimeRetention(annotation.annotationType());
160 Annotation fromElement = element.getAnnotation(annotation.annotationType());