Home
last modified time | relevance | path

Searched refs:getDeclaredAnnotation (Results 1 – 16 of 16) 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.java367 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/ojluni/annotations/sdk/nullability/java/lang/reflect/
DAnnotatedElement.annotated.java44 …able public default <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@libcore.u… in getDeclaredAnnotation() method
DAccessibleObject.annotated.java50 @libcore.util.Nullable public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@… in getDeclaredAnnotation() method in AccessibleObject
DParameter.annotated.java65 @libcore.util.Nullable public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@… in getDeclaredAnnotation() method in Parameter
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DAccessibleObject.java75 public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation( in getDeclaredAnnotation() method in AccessibleObject
DParameter.java113 public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation( 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.java437 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass) { in getDeclaredAnnotation() method in Package
438 return getPackageInfo().getDeclaredAnnotation(annotationClass); in getDeclaredAnnotation()
DClass.java4156 A annotation = getDeclaredAnnotation(annotationClass); in getAnnotation()
4163 annotation = sup.getDeclaredAnnotation(annotationClass); in getAnnotation()
4310 public native <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass); in getDeclaredAnnotation() method in Class
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java178 public native <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(java.lang.Class<A… in getDeclaredAnnotation() method in Class
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java172 …extends java.lang.annotation.Annotation> @libcore.util.Nullable A getDeclaredAnnotation(@libcore.u… in getDeclaredAnnotation() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java381 public native <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation( in getDeclaredAnnotation() method in Class
/libcore/api/
Dcurrent.txt3062 …method @Nullable public <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(@NonNu…
3686 method public <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(Class<A>);
4890 …able public default <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@NonNull C…