Home
last modified time | relevance | path

Searched refs:getAnnotations (Results 1 – 11 of 11) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java43 type.getAnnotations(); in timeGetTypeAnnotations()
49 field.getAnnotations(); in timeGetFieldAnnotations()
55 method.getAnnotations(); in timeGetMethodAnnotations()
105 HasLargeAnnotation.class.getAnnotations(); in timeGetAllReturnsLargeAnnotation()
111 HasSmallAnnotation.class.getAnnotations(); in timeGetAllReturnsSmallAnnotation()
117 HasMarkerAnnotation.class.getAnnotations(); in timeGetAllReturnsMarkerAnnotation()
123 HasNoAnnotations.class.getAnnotations(); in timeGetAllReturnsNoAnnotation()
129 HasThreeAnnotations.class.getAnnotations(); in timeGetAllReturnsThreeAnnotations()
138 ExtendsHasThreeAnnotations.class.getAnnotations(); in timeGetAnnotationsOnSubclass()
/libcore/ojluni/src/main/java/java/lang/reflect/
DAnnotatedElement.java102 Annotation[] getAnnotations(); in getAnnotations() method
DAccessibleObject.java179 public Annotation[] getAnnotations() { in getAnnotations() method in AccessibleObject
/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java30 assertEquals(1, getClass().getPackage().getAnnotations().length); in test_getAnnotations()
DOldClassTest.java237 Annotation [] annotations = PublicTestClass.class.getAnnotations(); in test_getAnnotations()
241 annotations = ExtendTestClass.class.getAnnotations(); in test_getAnnotations()
/libcore/libart/src/main/java/java/lang/reflect/
DAbstractMethod.java211 public Annotation[] getAnnotations() { in getAnnotations() method in AbstractMethod
212 return super.getAnnotations(); in getAnnotations()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java414 public Annotation[] getAnnotations() { in getAnnotations() method in Package
415 return getPackageInfo().getAnnotations(); in getAnnotations()
DClass.java2395 @Override public Annotation[] getAnnotations() { in getAnnotations() method in Class
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java157 Annotation[] annotations = ao.getAnnotations(); in test_getAnnotations()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DAnnotationsTest.java437 Set<Class<? extends Annotation>> actualTypes = annotationsToTypes(element.getAnnotations()); in assertAnnotatedElement()
DAnnotations57649Test.java19 assertEquals(3000, c.getAnnotations().length); in runTest()