Home
last modified time | relevance | path

Searched refs:getAnnotations (Results 1 – 13 of 13) 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/test-rules/src/main/java/libcore/junit/junit3/
DTestCaseWithRules.java83 public Annotation[] getAnnotations() { in runBare()
95 frameworkMethod.getAnnotations()); in runBare()
/libcore/ojluni/src/main/java/java/lang/reflect/
DAnnotatedElement.java281 Annotation[] getAnnotations(); in getAnnotations() method
DAccessibleObject.java226 public Annotation[] getAnnotations() { in getAnnotations() method in AccessibleObject
DParameter.java326 public Annotation[] getAnnotations() { in getAnnotations() method in Parameter
/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java31 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java157 Annotation[] annotations = ao.getAnnotations(); in test_getAnnotations()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java432 public Annotation[] getAnnotations() { in getAnnotations() method in Package
433 return getPackageInfo().getAnnotations(); in getAnnotations()
DClass.java2567 public Annotation[] getAnnotations() { in getAnnotations() method in Class
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementTestSupport.java108 Set<Class<? extends Annotation>> actualTypes = annotationsToTypes(element.getAnnotations()); in checkAnnotatedElementPresentMethods()
DAnnotations57649Test.java25 assertEquals(3000, c.getAnnotations().length); in runTest()
/libcore/annotations/
Dojluni.jaif1914 method getAnnotations()[Ljava/lang/annotation/Annotation;:
1934 method getAnnotations()[Ljava/lang/annotation/Annotation;:
1944 method getAnnotations()[Ljava/lang/annotation/Annotation;:
2134 method getAnnotations()[Ljava/lang/annotation/Annotation;: