/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 | 4156 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/ |
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/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/ojluni/annotations/hiddenapi/java/lang/ |
D | Class.java | 381 public native <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation( in getDeclaredAnnotation() method in Class
|
/libcore/api/ |
D | current.txt | 3062 …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…
|