Searched defs:getDeclaredAnnotation (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotatedElements.java35 * Default implementation for {@link AnnotatedElement#getDeclaredAnnotation}.
40 public static <T extends Annotation> T getDeclaredAnnotation(AnnotatedElement element, method in class:AnnotatedElements
181 Repeatable repeatableAnnotation = annotationClass.getDeclaredAnnotation(Repeatable.class);
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DAnnotatedElement.java123 default <T extends Annotation> Annotation getDeclaredAnnotation(Class<T> annotationClass) { method in interface:AnnotatedElement
124 return AnnotatedElements.getDeclaredAnnotation(this, annotationClass);
/libcore/ojluni/src/main/java/java/lang/
H A DPackage.java423 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationClass) { method in class:Package
424 return getPackageInfo().getDeclaredAnnotation(annotationClass);
H A DClass.java2352 A annotation = getDeclaredAnnotation(annotationClass);
2359 annotation = sup.getDeclaredAnnotation(annotationClass);
2473 public native <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass); method in class:Class

Completed in 264 milliseconds