Searched refs:getAnnotationsByType (Results 1 - 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/reflect/
H A DAccessibleObject.java186 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { method in class:AccessibleObject
217 // getAnnotationsByType.
218 return getAnnotationsByType(annotationClass);
H A DAnnotatedElement.java48 * <p>The {@link #getAnnotationsByType(Class)} and {@link
112 * <tr><td align=right>{@code T[]}</td><td>{@link #getAnnotationsByType(Class) getAnnotationsByType(Class&lt;T&gt;)}
306 * #getAnnotationsByType(Class)} on the superclass with {@code
318 default <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { method in interface:AnnotatedElement
320 // {@code Method}, {@code Field}, {@code Package}. The {@link Class#getAnnotationsByType}
322 // default implementation for {@link AnnotatedElement#getAnnotationsByType(Class)} but in an
H A DParameter.java286 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { method in class:Parameter
316 return getAnnotationsByType(annotationClass);
H A DField.java858 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { method in class:Field
H A DExecutable.java547 public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { method in class:Executable
/libcore/ojluni/src/main/java/java/lang/
H A DPackage.java421 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationClass) { method in class:Package
422 return getPackageInfo().getAnnotationsByType(annotationClass);
H A DClass.java2527 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationClass) { method in class:Class
2529 A[] annotations = GenericDeclaration.super.getAnnotationsByType(annotationClass);
2546 return superClass.getAnnotationsByType(annotationClass);
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
H A DAnnotatedElementTestSupport.java232 * Asserts that {@link AnnotatedElement#getAnnotationsByType(Class)} returns the
239 Annotation[] annotations = annotatedElement.getAnnotationsByType(annotationType);

Completed in 174 milliseconds