/libcore/benchmarks/src/benchmarks/regression/ |
D | AnnotatedElementBenchmark.java | 43 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/ |
D | TestCaseWithRules.java | 83 public Annotation[] getAnnotations() { in runBare() 95 frameworkMethod.getAnnotations()); in runBare()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | AnnotatedElement.java | 282 Annotation[] getAnnotations(); in getAnnotations() method
|
D | AccessibleObject.java | 226 public Annotation[] getAnnotations() { in getAnnotations() method in AccessibleObject
|
D | Parameter.java | 326 public Annotation[] getAnnotations() { in getAnnotations() method in Parameter
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | PackageTest.java | 39 assertEquals(1, getClass().getPackage().getAnnotations().length); in test_getAnnotations()
|
D | OldClassTest.java | 237 Annotation [] annotations = PublicTestClass.class.getAnnotations(); in test_getAnnotations() 241 annotations = ExtendTestClass.class.getAnnotations(); in test_getAnnotations()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | AnnotatedElement.annotated.java | 40 …ic java.lang.annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getAnnotations(); in getAnnotations() method
|
D | AccessibleObject.annotated.java | 48 …annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getAnnotations() { throw new … in getAnnotations() method in AccessibleObject
|
D | Parameter.annotated.java | 69 …annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getAnnotations() { throw new … in getAnnotations() method in Parameter
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | AccessibleObject.java | 71 public java.lang.annotation.Annotation[] getAnnotations() { in getAnnotations() method in AccessibleObject
|
D | Parameter.java | 123 public java.lang.annotation.Annotation[] getAnnotations() { in getAnnotations() method in Parameter
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | AccessibleObjectTest.java | 157 Annotation[] annotations = ao.getAnnotations(); in test_getAnnotations()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 428 public Annotation[] getAnnotations() { in getAnnotations() method in Package 429 return getPackageInfo().getAnnotations(); in getAnnotations()
|
D | Class.java | 2572 public Annotation[] getAnnotations() { in getAnnotations() method in Class
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | AnnotatedElementTestSupport.java | 108 Set<Class<? extends Annotation>> actualTypes = annotationsToTypes(element.getAnnotations()); in checkAnnotatedElementPresentMethods()
|
D | Annotations57649Test.java | 25 assertEquals(3000, c.getAnnotations().length); in runTest()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 179 public java.lang.annotation.Annotation[] getAnnotations() { throw new RuntimeException("Stub!"); } in getAnnotations() method in Class
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 165 …annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getAnnotations() { throw new … in getAnnotations() method in Class
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Class.java | 377 public java.lang.annotation.Annotation[] getAnnotations() { in getAnnotations() method in Class
|