Searched defs:annotationClass (Results 1 - 8 of 8) sorted by relevance
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotatedElements.java | 37 * @return Directly present annotation of type {@code annotationClass} for {@code element}, 41 Class<T> annotationClass) { 42 if (annotationClass == null) { 43 throw new NullPointerException("annotationClass"); 54 // Return the first (and only) annotation whose class matches annotationClass. 56 if (annotationClass.isInstance(annotations[i])) { 69 * @return Directly/indirectly present list of annotations of type {@code annotationClass} for 73 Class<T> annotationClass) { 74 if (annotationClass == null) { 75 throw new NullPointerException("annotationClass"); 40 getDeclaredAnnotation(AnnotatedElement element, Class<T> annotationClass) argument 72 getDeclaredAnnotationsByType(AnnotatedElement element, Class<T> annotationClass) argument 108 insertAnnotationValues(Annotation annotation, Class<T> annotationClass, ArrayList<T> unfoldedAnnotations) argument 179 getRepeatableAnnotationContainerClassFor(Class<T> annotationClass) argument 196 getAnnotationsByType(AnnotatedElement element, Class<T> annotationClass) argument [all...] |
/libcore/ojluni/src/main/java/java/lang/reflect/ |
H A D | AccessibleObject.java | 172 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { argument
|
H A D | AnnotatedElement.java | 69 * @param annotationClass the Class object corresponding to the 76 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { argument 77 return getAnnotation(annotationClass) != null; 84 * @param annotationClass the Class object corresponding to the 91 <T extends Annotation> T getAnnotation(Class<T> annotationClass); argument 119 * {@code annotationClass}, or {@code null} if nothing was found. 123 default <T extends Annotation> Annotation getDeclaredAnnotation(Class<T> annotationClass) { argument 124 return AnnotatedElements.getDeclaredAnnotation(this, annotationClass); 129 * whose class is {@code annotationClass}, or an empty array if nothing was found. 133 default <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass) { argument 143 getAnnotationsByType(Class<T> annotationClass) argument [all...] |
/libcore/ojluni/src/main/java/sun/reflect/annotation/ |
H A D | AnnotationType.java | 79 Class<? extends Annotation> annotationClass) 81 AnnotationType result = annotationClass.getAnnotationType(); 83 result = new AnnotationType((Class<? extends Annotation>) annotationClass); 91 * @param annotationClass the class object for the annotation type 95 private AnnotationType(final Class<? extends Annotation> annotationClass) { argument 96 if (!annotationClass.isAnnotation()) 103 return annotationClass.getDeclaredMethods(); 123 annotationClass.setAnnotationType(this); 127 if (annotationClass != Retention.class && 128 annotationClass ! 78 getInstance( Class<? extends Annotation> annotationClass) argument [all...] |
/libcore/libart/src/main/java/java/lang/reflect/ |
H A D | AbstractMethod.java | 76 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { argument 77 return super.getAnnotation(annotationClass);
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Package.java | 398 public <A extends Annotation> A getAnnotation(Class<A> annotationClass) { argument 399 return getPackageInfo().getAnnotation(annotationClass); 407 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationClass) { argument 408 return getPackageInfo().getAnnotationsByType(annotationClass); 423 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass) { argument 424 return getPackageInfo().getDeclaredAnnotation(annotationClass); 432 public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationClass) { argument 433 return getPackageInfo().getDeclaredAnnotationsByType(annotationClass);
|
H A D | Class.java | 2348 public <A extends Annotation> A getAnnotation(Class<A> annotationClass) { argument 2349 if (annotationClass == null) 2352 A annotation = getDeclaredAnnotation(annotationClass); 2357 if (annotationClass.isDeclaredAnnotationPresent(Inherited.class)) { 2359 annotation = sup.getDeclaredAnnotation(annotationClass); 2440 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { argument 2442 T[] annotations = AnnotatedElement.super.getAnnotationsByType(annotationClass); 2455 if (annotationClass.isDeclaredAnnotationPresent(Inherited.class)) { 2459 return superClass.getAnnotationsByType(annotationClass); 2464 return (T[]) Array.newInstance(annotationClass, 2473 getDeclaredAnnotation(Class<T> annotationClass) argument 2478 isDeclaredAnnotationPresent(Class<? extends Annotation> annotationClass) argument [all...] |
/libcore/support/src/test/java/tests/resources/ |
H A D | junit4-4.3.1.jar | META-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ... |
Completed in 491 milliseconds