/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
D | AnnotationTest.java | 36 Annotation [] annotations = AnnotatedClass.class.getDeclaredAnnotations(); in test_annotationType() 49 m1.getDeclaredAnnotations()[0].equals(m2 in test_equals() 50 .getDeclaredAnnotations()[0])); in test_equals() 75 Annotation a1 = me1.getDeclaredAnnotations()[0]; in test_equals() 76 Annotation a2 = me2.getDeclaredAnnotations()[0]; in test_equals() 88 Annotation a1 = me1.getDeclaredAnnotations()[0]; in test_equals() 89 Annotation a2 = me2.getDeclaredAnnotations()[0]; in test_equals() 103 Annotation a1 = AnnotatedClass.class.getDeclaredAnnotations()[0]; in test_hashCode() 121 m1.getDeclaredAnnotations()[0].hashCode()); in test_hashCode() 126 m2.getDeclaredAnnotations()[0].hashCode()); in test_hashCode()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | AnnotatedElement.java | 354 for (Annotation annotation : getDeclaredAnnotations()) { in getDeclaredAnnotation() 428 Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method
|
D | AccessibleObject.java | 227 return getDeclaredAnnotations(); in getAnnotations() 257 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in AccessibleObject
|
D | Constructor.java | 390 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Constructor 391 return super.getDeclaredAnnotations(); in getDeclaredAnnotations()
|
D | Parameter.java | 298 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Parameter 327 return getDeclaredAnnotations(); in getAnnotations()
|
D | Method.java | 501 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Method 502 return super.getDeclaredAnnotations(); in getDeclaredAnnotations()
|
D | Field.java | 932 public native Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Field
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | AnnotatedElement.annotated.java | 48 …lang.annotation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getDeclaredAnnotations(); in getDeclaredAnnotations() method
|
D | AccessibleObject.annotated.java | 54 …tation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getDeclaredAnnotations() { throw … in getDeclaredAnnotations() method in AccessibleObject
|
D | Constructor.annotated.java | 70 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { throw new RuntimeException("Stu… in getDeclaredAnnotations() method in Constructor
|
D | Parameter.annotated.java | 63 …tation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getDeclaredAnnotations() { throw … in getDeclaredAnnotations() method in Parameter
|
D | Executable.annotated.java | 68 …tation.@libcore.util.NonNull Annotation @libcore.util.NonNull [] getDeclaredAnnotations() { throw … in getDeclaredAnnotations() method in Executable
|
D | Method.annotated.java | 80 @libcore.util.NonNull public java.lang.annotation.Annotation[] getDeclaredAnnotations() { throw new… in getDeclaredAnnotations() method in Method
|
D | Field.annotated.java | 100 public native java.lang.annotation.Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Field
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | AccessibleObject.java | 85 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in AccessibleObject
|
D | Parameter.java | 109 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Parameter
|
D | Constructor.java | 139 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Constructor
|
D | Field.java | 166 public native java.lang.annotation.Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Field
|
D | Executable.java | 143 public java.lang.annotation.Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Executable
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotatedElements.java | 48 Annotation[] annotations = element.getDeclaredAnnotations(); in getDirectOrIndirectAnnotationsByType()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 356 Annotation [] annotations = PublicTestClass.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations() 359 annotations = ExtendTestClass.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations() 362 annotations = TestInterface.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations() 365 annotations = String.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
|
D | PackageTest.java | 43 assertEquals(1, getClass().getPackage().getDeclaredAnnotations().length); in test_getAnnotations()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | AccessibleObjectTest.java | 172 Annotation[] annotations = ao.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 453 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Package 454 return getPackageInfo().getDeclaredAnnotations(); in getDeclaredAnnotations()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | AnnotatedElementBenchmark.java | 144 ExtendsHasThreeAnnotations.class.getDeclaredAnnotations(); in timeGetDeclaredAnnotationsOnSubclass()
|