Searched refs:getAnnotations (Results 1 - 15 of 15) sorted by relevance

/libcore/luni/src/main/java/java/lang/reflect/
H A DAnnotatedElement.java49 Annotation[] getAnnotations(); method in interface:AnnotatedElement
/libcore/benchmarks/src/benchmarks/regression/
H A DAnnotatedElementBenchmark.java43 type.getAnnotations();
49 field.getAnnotations();
55 method.getAnnotations();
105 HasLargeAnnotation.class.getAnnotations();
111 HasSmallAnnotation.class.getAnnotations();
117 HasMarkerAnnotation.class.getAnnotations();
123 HasNoAnnotations.class.getAnnotations();
129 HasThreeAnnotations.class.getAnnotations();
138 ExtendsHasThreeAnnotations.class.getAnnotations();
144 ExtendsHasThreeAnnotations.class.getAnnotations();
[all...]
/libcore/luni/src/main/java/java/lang/
H A DPackage.java86 for (Annotation annotation : getAnnotations()) {
97 public Annotation[] getAnnotations() { method in class:Package
100 return c.getAnnotations();
108 * inherited, so this is equivalent to {@link #getAnnotations}.
111 return getAnnotations();
/libcore/luni/src/test/java/libcore/java/lang/
H A DPackageTest.java29 assertEquals(0, getClass().getPackage().getAnnotations().length);
H A DOldClassTest.java242 Annotation [] annotations = PublicTestClass.class.getAnnotations();
246 annotations = ExtendTestClass.class.getAnnotations();
/libcore/libart/src/main/java/java/lang/reflect/
H A DAccessibleObject.java102 @Override public Annotation[] getAnnotations() { method in class:AccessibleObject
103 // for all but Class, getAnnotations == getDeclaredAnnotations
H A DConstructor.java59 public Annotation[] getAnnotations() { method in class:Constructor
60 return super.getAnnotations();
H A DAbstractMethod.java186 public Annotation[] getAnnotations() { method in class:AbstractMethod
187 return super.getAnnotations();
H A DMethod.java88 public Annotation[] getAnnotations() { method in class:Method
89 return super.getAnnotations();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DAccessibleObjectTest.java157 Annotation[] annotations = ao.getAnnotations();
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DAnnotationsTest.java360 Set<Class<? extends Annotation>> actualTypes = annotationsToTypes(element.getAnnotations());
364 // getAnnotations() should be consistent with isAnnotationPresent() and getAnnotation()
H A DAnnotations57649Test.java19 assertEquals(3000, c.getAnnotations().length);
/libcore/libart/src/main/java/java/lang/
H A DClass.java353 @Override public Annotation[] getAnnotations() { method in class:Class
354 return AnnotationAccess.getAnnotations(this);
862 * @see #getAnnotations()
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationAccess.java98 public static Annotation[] getAnnotations(Class<?> c) { method in class:AnnotationAccess
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 539 milliseconds