/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 | 353 for (Annotation annotation : getDeclaredAnnotations()) { in getDeclaredAnnotation() 427 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 | 927 public native Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Field
|
D | Executable.java | 561 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Executable
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | PackageTest.java | 32 assertEquals(1, getClass().getPackage().getDeclaredAnnotations().length); in test_getAnnotations()
|
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()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotatedElements.java | 48 Annotation[] annotations = element.getDeclaredAnnotations(); in getDirectOrIndirectAnnotationsByType()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | AccessibleObjectTest.java | 172 Annotation[] annotations = ao.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
|
D | ConstructorTest.java | 128 Annotation[] annotations = ctor1.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
|
D | MethodTest.java | 436 Annotation[] declaredAnnotations = method.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
|
D | FieldTest.java | 1532 Annotation[] annotations = field.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Package.java | 457 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Package 458 return getPackageInfo().getDeclaredAnnotations(); in getDeclaredAnnotations()
|
D | Class.java | 2580 for (Annotation declaredAnnotation : getDeclaredAnnotations()) { in getAnnotations() 2584 for (Annotation declaredAnnotation : sup.getDeclaredAnnotations()) { in getAnnotations() 2610 public native Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Class
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | AnnotatedElementBenchmark.java | 144 ExtendsHasThreeAnnotations.class.getDeclaredAnnotations(); in timeGetDeclaredAnnotationsOnSubclass()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | AnnotatedElementTestSupport.java | 147 …et<Class<? extends Annotation>> actualTypes = annotationsToTypes(element.getDeclaredAnnotations()); in checkAnnotatedElementDirectMethods()
|
/libcore/annotations/ |
D | ojluni.jaif | 1923 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;: 1938 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;: 1948 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;: 2016 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;: 2094 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;: 2130 method getDeclaredAnnotations()[Ljava/lang/annotation/Annotation;:
|