Searched refs:getDeclaredAnnotation (Results 1 – 5 of 5) sorted by relevance
123 default <T extends Annotation> Annotation getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() method124 return AnnotatedElements.getDeclaredAnnotation(this, annotationClass); in getDeclaredAnnotation()
40 public static <T extends Annotation> T getDeclaredAnnotation(AnnotatedElement element, in getDeclaredAnnotation() method in AnnotatedElements181 Repeatable repeatableAnnotation = annotationClass.getDeclaredAnnotation(Repeatable.class); in getRepeatableAnnotationContainerClassFor()
475 element.getDeclaredAnnotation(null); in assertAnnotatedElementDeclared()503 assertNotNull(element.getDeclaredAnnotation(annotation)); in assertDeclared()505 assertNull(element.getDeclaredAnnotation(annotation)); in assertDeclared()
423 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass) { in getDeclaredAnnotation() method in Package424 return getPackageInfo().getDeclaredAnnotation(annotationClass); in getDeclaredAnnotation()
2352 A annotation = getDeclaredAnnotation(annotationClass); in getAnnotation()2359 annotation = sup.getDeclaredAnnotation(annotationClass); in getAnnotation()2473 public native <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass); in getDeclaredAnnotation() method in Class