Home
last modified time | relevance | path

Searched refs:getDeclaredAnnotation (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/reflect/
DAnnotatedElement.java123 default <T extends Annotation> Annotation getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() method
124 return AnnotatedElements.getDeclaredAnnotation(this, annotationClass); in getDeclaredAnnotation()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotatedElements.java40 public static <T extends Annotation> T getDeclaredAnnotation(AnnotatedElement element, in getDeclaredAnnotation() method in AnnotatedElements
181 Repeatable repeatableAnnotation = annotationClass.getDeclaredAnnotation(Repeatable.class); in getRepeatableAnnotationContainerClassFor()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DAnnotationsTest.java475 element.getDeclaredAnnotation(null); in assertAnnotatedElementDeclared()
503 assertNotNull(element.getDeclaredAnnotation(annotation)); in assertDeclared()
505 assertNull(element.getDeclaredAnnotation(annotation)); in assertDeclared()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java423 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass) { in getDeclaredAnnotation() method in Package
424 return getPackageInfo().getDeclaredAnnotation(annotationClass); in getDeclaredAnnotation()
DClass.java2352 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