Home
last modified time | relevance | path

Searched refs:getAnnotations (Results 1 – 17 of 17) 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.java282 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/ojluni/annotations/sdk/nullability/java/lang/reflect/
DAnnotatedElement.annotated.java40 …ic java.lang.annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getAnnotations(); in getAnnotations() method
DAccessibleObject.annotated.java48 …annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getAnnotations() { throw new … in getAnnotations() method in AccessibleObject
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DAccessibleObject.java71 public java.lang.annotation.Annotation[] getAnnotations() { in getAnnotations() method in AccessibleObject
DParameter.java123 public java.lang.annotation.Annotation[] getAnnotations() { in getAnnotations() method in Parameter
/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java42 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.java428 public Annotation[] getAnnotations() { in getAnnotations() method in Package
429 return getPackageInfo().getAnnotations(); in getAnnotations()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementTestSupport.java108 Set<Class<? extends Annotation>> actualTypes = annotationsToTypes(element.getAnnotations()); in checkAnnotatedElementPresentMethods()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java176 public java.lang.annotation.Annotation[] getAnnotations() { throw new RuntimeException("Stub!"); } in getAnnotations() method in Class
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java167 …annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getAnnotations() { throw new … in getAnnotations() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java377 public java.lang.annotation.Annotation[] getAnnotations() { in getAnnotations() method in Class