Searched refs:annotationClass (Results 1 – 6 of 6) sorted by relevance
32 private final Class<? extends Annotation> annotationClass; field in HasMethodAnnotation34 public HasMethodAnnotation(Class<? extends Annotation> annotationClass) { in HasMethodAnnotation() argument35 this.annotationClass = annotationClass; in HasMethodAnnotation()39 return testMethod.getAnnotation(annotationClass) != null; in apply()
32 private Class<? extends Annotation> annotationClass; field in HasClassAnnotation34 public HasClassAnnotation(Class<? extends Annotation> annotationClass) { in HasClassAnnotation() argument35 this.annotationClass = annotationClass; in HasClassAnnotation()39 return testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
35 public HasAnnotation(Class<? extends Annotation> annotationClass) { in HasAnnotation() argument37 new HasMethodAnnotation(annotationClass), in HasAnnotation()38 new HasClassAnnotation(annotationClass)); in HasAnnotation()
479 Class<? extends Annotation> annotationClass = getAnnotationClass(annotationClassName); in getAnnotationPredicate() local480 if (annotationClass != null) { in getAnnotationPredicate()481 return new HasAnnotation(annotationClass); in getAnnotationPredicate()493 Class<? extends Annotation> annotationClass = getAnnotationClass(annotationClassName); in getNotAnnotationPredicate() local494 if (annotationClass != null) { in getNotAnnotationPredicate()495 return Predicates.not(new HasAnnotation(annotationClass)); in getNotAnnotationPredicate()511 Class<?> annotationClass = Class.forName(annotationClassName); in getAnnotationClass() local512 if (annotationClass.isAnnotation()) { in getAnnotationClass()513 return (Class<? extends Annotation>)annotationClass; in getAnnotationClass()
527 Class<? extends Annotation> annotationClass = loadAnnotationClass(annotation); in addAnnotationInclusionFilter() local528 if (annotationClass != null) { in addAnnotationInclusionFilter()529 mFilter = mFilter.intersect(new AnnotationInclusionFilter(annotationClass)); in addAnnotationInclusionFilter()539 Class<? extends Annotation> annotationClass = loadAnnotationClass(notAnnotation); in addAnnotationExclusionFilter() local540 if (annotationClass != null) { in addAnnotationExclusionFilter()541 mFilter = mFilter.intersect(new AnnotationExclusionFilter(annotationClass)); in addAnnotationExclusionFilter()
58 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() argument60 return getEnclosingClass().getMethod(getName()).getAnnotation(annotationClass); in getAnnotation()