Home
last modified time | relevance | path

Searched defs:annotationClass (Results 1 – 25 of 26) sorted by relevance

12

/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DAnnotatedElement.annotated.java36 … 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()
DAccessibleObject.annotated.java42 …(@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()
DParameter.annotated.java59 …(@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()
DExecutable.annotated.java64 …(@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()
DField.annotated.java94 …(@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()
DConstructor.annotated.java68 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation()
DMethod.annotated.java78 …(@libcore.util.NonNull java.lang.Class<T> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation()
/libcore/ojluni/src/main/java/java/lang/reflect/
DAnnotatedElement.java252 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()
DAccessibleObject.java200 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()
DParameter.java275 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()
DExecutable.java538 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()
DField.java895 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation()
910 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { in getAnnotationsByType()
DMethod.java493 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation()
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DAccessibleObject.java57 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()
DParameter.java95 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()
DExecutable.java131 java.lang.Class<T> annotationClass) { in getAnnotation()
136 java.lang.Class<T> annotationClass); in getAnnotationNative()
139 java.lang.Class<T> annotationClass) { in getAnnotationsByType()
DField.java146 java.lang.Class<T> annotationClass) { in getAnnotation()
154 java.lang.Class<T> annotationClass) { in getAnnotationsByType()
DConstructor.java135 java.lang.Class<T> annotationClass) { in getAnnotation()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotatedElements.java43 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/
DRetentionPolicyTest.java96 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/
DPackage.java402 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()
DClass.java2521 public <A extends Annotation> A getAnnotation(Class<A> annotationClass) { in getAnnotation()
2547 public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent()
2572 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationClass) { in getAnnotationsByType()
2639 public native <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass); in getDeclaredAnnotation()
2652 private native boolean isDeclaredAnnotationPresent(Class<? extends Annotation> annotationClass); in isDeclaredAnnotationPresent()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java161 …(@libcore.util.NonNull java.lang.Class<A> annotationClass) { throw new RuntimeException("Stub!"); } in getAnnotation()
163 … extends java.lang.annotation.Annotation> annotationClass) { throw new RuntimeException("Stub!"); } in isAnnotationPresent()
165 …AnnotationsByType(@libcore.util.NonNull java.lang.Class<A> annotationClass) { throw new RuntimeExc… in getAnnotationsByType()
169 …re.util.Nullable A getDeclaredAnnotation(@libcore.util.NonNull java.lang.Class<A> annotationClass); in getDeclaredAnnotation()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java170 …A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationClass) { t… in getAnnotation()
172 public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annot… in isAnnotationPresent()
174 … java.lang.annotation.Annotation> A[] getAnnotationsByType(java.lang.Class<A> annotationClass) { t… in getAnnotationsByType()
178 …tends java.lang.annotation.Annotation> A getDeclaredAnnotation(java.lang.Class<A> annotationClass); in getDeclaredAnnotation()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java363 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()

12