Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementTestSupport.java156 element.getDeclaredAnnotation(null); in checkAnnotatedElementDirectMethods()
188 assertNotNull(element.getDeclaredAnnotation(annotation)); in assertDeclared()
190 assertNull(element.getDeclaredAnnotation(annotation)); in assertDeclared()
216 Annotation annotation = annotatedElement.getDeclaredAnnotation(annotationType); in assertGetDeclaredAnnotation()
/libcore/ojluni/src/main/java/java/lang/reflect/
DAnnotatedElement.java350 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() method
DAccessibleObject.java235 public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() method in AccessibleObject
DParameter.java305 public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() method in Parameter
/libcore/luni/src/main/java/libcore/reflect/
DAnnotatedElements.java151 Repeatable repeatableAnnotation = annotationClass.getDeclaredAnnotation(Repeatable.class); in getRepeatableAnnotationContainerClassFor()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java441 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass) { in getDeclaredAnnotation() method in Package
442 return getPackageInfo().getDeclaredAnnotation(annotationClass); in getDeclaredAnnotation()
DClass.java2488 A annotation = getDeclaredAnnotation(annotationClass); in getAnnotation()
2495 annotation = sup.getDeclaredAnnotation(annotationClass); in getAnnotation()
2603 public native <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass); in getDeclaredAnnotation() method in Class
/libcore/annotations/
Dojluni.jaif1918 method getDeclaredAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;: