/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | AnnotatedElementTestSupport.java | 156 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/ |
D | AnnotatedElement.java | 367 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() method
|
D | AccessibleObject.java | 235 public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() method in AccessibleObject
|
D | Parameter.java | 305 public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() method in Parameter
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | AnnotatedElement.annotated.java | 44 …able public default <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@libcore.u… in getDeclaredAnnotation() method
|
D | AccessibleObject.annotated.java | 50 @libcore.util.Nullable public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@… in getDeclaredAnnotation() method in AccessibleObject
|
D | Parameter.annotated.java | 65 @libcore.util.Nullable public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@… in getDeclaredAnnotation() method in Parameter
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | AccessibleObject.java | 75 public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation( in getDeclaredAnnotation() method in AccessibleObject
|
D | Parameter.java | 113 public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation( in getDeclaredAnnotation() method in Parameter
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotatedElements.java | 151 Repeatable repeatableAnnotation = annotationClass.getDeclaredAnnotation(Repeatable.class); in getRepeatableAnnotationContainerClassFor()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 437 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass) { in getDeclaredAnnotation() method in Package 438 return getPackageInfo().getDeclaredAnnotation(annotationClass); in getDeclaredAnnotation()
|
D | Class.java | 4245 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/ |
D | RandomGeneratorFactory.java | 219 … properties = provider.type().getDeclaredAnnotation(RandomGeneratorProperties.class);
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 178 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/ |
D | Class.java | 379 public native <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation( in getDeclaredAnnotation() method in Class
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 172 …extends java.lang.annotation.Annotation> @libcore.util.Nullable A getDeclaredAnnotation(@libcore.u… in getDeclaredAnnotation() method in Class
|
/libcore/api/ |
D | current.txt | 3091 …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…
|