/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | AnnotatedElement.java | 252 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() 268 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() 319 default <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { in getAnnotationsByType() 351 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() 408 default <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass) { in getDeclaredAnnotationsByType()
|
D | AccessibleObject.java | 200 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() 210 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() 219 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { in getAnnotationsByType() 235 public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() 247 public <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass) { in getDeclaredAnnotationsByType()
|
D | Parameter.java | 275 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() 290 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { in getAnnotationsByType() 305 public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() 316 public <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass) { in getDeclaredAnnotationsByType()
|
D | Executable.java | 538 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() 546 private native <T extends Annotation> T getAnnotationNative(Class<T> annotationClass); in getAnnotationNative() 553 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { in getAnnotationsByType()
|
D | Field.java | 895 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() 910 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { in getAnnotationsByType()
|
D | Method.java | 493 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | AnnotatedElement.annotated.java | 36 … extends java.lang.annotation.Annotation> annotationClass) { throw new RuntimeException("Stub!"); } in isAnnotationPresent() 38 …g.annotation.Annotation> T getAnnotation(@libcore.util.NonNull java.lang.Class<T> annotationClass); in getAnnotation() 42 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotationsByType() 44 …on(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!")… in getDeclaredAnnotation() 46 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getDeclaredAnnotationsByType()
|
D | AccessibleObject.annotated.java | 42 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation() 44 … extends java.lang.annotation.Annotation> annotationClass) { throw new RuntimeException("Stub!"); } in isAnnotationPresent() 46 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotationsByType() 50 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getDeclaredAnnotation() 52 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getDeclaredAnnotationsByType()
|
D | Parameter.annotated.java | 59 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation() 61 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotationsByType() 65 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getDeclaredAnnotation() 67 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getDeclaredAnnotationsByType()
|
D | Executable.annotated.java | 64 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation() 66 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotationsByType()
|
D | Field.annotated.java | 94 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation() 96 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotationsByType()
|
D | Constructor.annotated.java | 68 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation()
|
D | Method.annotated.java | 78 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | AccessibleObject.java | 57 java.lang.Class<T> annotationClass) { in getAnnotation() 62 java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) { in isAnnotationPresent() 67 java.lang.Class<T> annotationClass) { in getAnnotationsByType() 76 java.lang.Class<T> annotationClass) { in getDeclaredAnnotation() 81 java.lang.Class<T> annotationClass) { in getDeclaredAnnotationsByType()
|
D | Parameter.java | 95 java.lang.Class<T> annotationClass) { in getAnnotation() 105 java.lang.Class<T> annotationClass) { in getAnnotationsByType() 114 java.lang.Class<T> annotationClass) { in getDeclaredAnnotation() 119 java.lang.Class<T> annotationClass) { in getDeclaredAnnotationsByType()
|
D | Executable.java | 131 java.lang.Class<T> annotationClass) { in getAnnotation() 136 java.lang.Class<T> annotationClass); in getAnnotationNative() 139 java.lang.Class<T> annotationClass) { in getAnnotationsByType()
|
D | Field.java | 146 java.lang.Class<T> annotationClass) { in getAnnotation() 154 java.lang.Class<T> annotationClass) { in getAnnotationsByType()
|
D | Constructor.java | 135 java.lang.Class<T> annotationClass) { in getAnnotation()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotatedElements.java | 43 AnnotatedElement element, Class<T> annotationClass) { in getDirectOrIndirectAnnotationsByType() 79 Class<T> annotationClass, ArrayList<T> unfoldedAnnotations) { in insertAnnotationValues() 149 getRepeatableAnnotationContainerClassFor(Class<T> annotationClass) { in getRepeatableAnnotationContainerClassFor()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | RetentionPolicyTest.java | 96 Class<? extends Annotation> annotationClass = getAnnotationClass( in testRetentionPolicy_targetSdkVersion_23() local 109 Class<? extends Annotation> annotationClass = getAnnotationClass( in testRetentionPolicy_targetSdkVersion_24() local
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 402 public <A extends Annotation> A getAnnotation(Class<A> annotationClass) { in getAnnotation() 412 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() 421 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationClass) { in getAnnotationsByType() 437 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass) { in getDeclaredAnnotation() 446 public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationClass) { in getDeclaredAnnotationsByType()
|
D | Class.java | 2490 public <A extends Annotation> A getAnnotation(Class<A> annotationClass) { in getAnnotation() 2516 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() 2541 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationClass) { in getAnnotationsByType() 2608 public native <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass); in getDeclaredAnnotation() 2621 private native boolean isDeclaredAnnotationPresent(Class<? extends Annotation> annotationClass); in isDeclaredAnnotationPresent()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 159 …(@libcore.util.NonNull java.lang.Class<A> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation() 161 … extends java.lang.annotation.Annotation> annotationClass) { throw new RuntimeException("Stub!"); } in isAnnotationPresent() 163 …AnnotationsByType(@libcore.util.NonNull java.lang.Class<A> annotationClass) { throw new RuntimeExc… in getAnnotationsByType() 167 …re.util.Nullable A getDeclaredAnnotation(@libcore.util.NonNull java.lang.Class<A> annotationClass); in getDeclaredAnnotation()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 173 …A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationClass) { t… in getAnnotation() 175 public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annot… in isAnnotationPresent() 177 … java.lang.annotation.Annotation> A[] getAnnotationsByType(java.lang.Class<A> annotationClass) { t… in getAnnotationsByType() 181 …tends java.lang.annotation.Annotation> A getDeclaredAnnotation(java.lang.Class<A> annotationClass); in getDeclaredAnnotation()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Class.java | 363 java.lang.Class<A> annotationClass) { in getAnnotation() 368 java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) { in isAnnotationPresent() 373 java.lang.Class<A> annotationClass) { in getAnnotationsByType() 382 java.lang.Class<A> annotationClass); in getDeclaredAnnotation() 387 java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass); in isDeclaredAnnotationPresent()
|