Home
last modified time | relevance | path

Searched refs:getDeclaredAnnotation (Results 1 – 17 of 17) 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.java4245 A annotation = getDeclaredAnnotation(annotationClass); in getAnnotation()
4252 annotation = sup.getDeclaredAnnotation(annotationClass); in getAnnotation()
4400 public native <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass); in getDeclaredAnnotation() method in Class
/libcore/ojluni/src/main/java/java/util/random/
DRandomGeneratorFactory.java219 … properties = provider.type().getDeclaredAnnotation(RandomGeneratorProperties.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/hiddenapi/java/lang/
DClass.java379 public native <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation( 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/api/
Dcurrent.txt3091 …method @Nullable public <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(@NonNu…
3737 method public <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(Class<A>);
4961 …method @Nullable public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@NonNu…
4974 …able public default <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@NonNull C…
5158 …method @Nullable public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@NonNu…