/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/ojluni/src/test/java/lang/reflect/records/ |
D | RecordReflectionTest.java | 164 Annotation[] annos = rc.getAnnotations(); in testDeclAnnotationsInRecordComp() 169 assertEquals(f.getAnnotations().length, 1); in testDeclAnnotationsInRecordComp() 170 assertEquals(f.getAnnotations()[0].toString(), annos[0].toString()); in testDeclAnnotationsInRecordComp()
|
/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 | 298 Annotation[] getAnnotations(); in getAnnotations() method
|
D | AccessibleObject.java | 226 public Annotation[] getAnnotations() { in getAnnotations() method in AccessibleObject
|
D | RecordComponent.java | 269 public Annotation[] getAnnotations() { in getAnnotations() method in RecordComponent
|
D | Parameter.java | 326 public Annotation[] getAnnotations() { in getAnnotations() method in Parameter
|
/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 | RecordComponent.annotated.java | 46 …til.NonNull java.lang.annotation.Annotation @libcore.util.NonNull [] getAnnotations() { throw new … in getAnnotations() method in RecordComponent
|
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/luni/src/test/java/libcore/java/lang/ |
D | PackageTest.java | 42 assertEquals(1, getClass().getPackage().getAnnotations().length); in test_getAnnotations()
|
D | OldClassTest.java | 240 Annotation [] annotations = PublicTestClass.class.getAnnotations(); in test_getAnnotations() 244 annotations = ExtendTestClass.class.getAnnotations(); in test_getAnnotations()
|
/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 | 4349 public Annotation[] getAnnotations() { in getAnnotations() method in Class
|
/libcore/luni/src/test/java/crossvmtest/java/lang/ |
D | RecordComponentTest.java | 102 assertEquals(2, components[0].getAnnotations().length); in testGetAnnotations()
|
/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 | 176 public java.lang.annotation.Annotation[] getAnnotations() { throw new RuntimeException("Stub!"); } in getAnnotations() method in Class
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Class.java | 375 public java.lang.annotation.Annotation[] getAnnotations() { in getAnnotations() method in Class
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 170 …annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getAnnotations() { throw new … in getAnnotations() method in Class
|
/libcore/api/ |
D | current.txt | 3083 method @NonNull public java.lang.annotation.Annotation[] getAnnotations(); 3735 method public java.lang.annotation.Annotation[] getAnnotations(); 4959 method @NonNull public java.lang.annotation.Annotation[] getAnnotations(); 4972 method @NonNull public java.lang.annotation.Annotation[] getAnnotations(); 5156 method @NonNull public java.lang.annotation.Annotation[] getAnnotations(); 5190 method @NonNull public java.lang.annotation.Annotation[] getAnnotations();
|