Home
last modified time | relevance | path

Searched refs:getDeclaredAnnotations (Results 1 – 16 of 16) sorted by relevance

/libcore/libart/src/main/java/java/lang/reflect/
DAccessibleObject.java91 @Override public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in AccessibleObject
97 return getDeclaredAnnotations(); in getAnnotations()
DConstructor.java184 @Override public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Constructor
185 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this); in getDeclaredAnnotations()
DMethod.java291 @Override public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Method
292 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this); in getDeclaredAnnotations()
DField.java243 @Override public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Field
244 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this); in getDeclaredAnnotations()
DAbstractMethod.java197 @Override public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in AbstractMethod
198 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this); in getDeclaredAnnotations()
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java36 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/luni/src/main/java/java/lang/reflect/
DAnnotatedElement.java58 Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method
/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java31 assertEquals(1, getClass().getPackage().getDeclaredAnnotations().length); in test_getAnnotations()
DOldClassTest.java356 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/java/lang/
DPackage.java114 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Package
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java172 Annotation[] annotations = ao.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DConstructorTest.java128 Annotation[] annotations = ctor1.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DMethodTest.java436 Annotation[] declaredAnnotations = method.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DFieldTest.java1532 Annotation[] annotations = field.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java111 for (Annotation declaredAnnotation : getDeclaredAnnotations(c)) { in getAnnotations()
115 for (Annotation declaredAnnotation : getDeclaredAnnotations(sup)) { in getAnnotations()
159 public static List<Annotation> getDeclaredAnnotations(AnnotatedElement element) { in getDeclaredAnnotations() method in AnnotationAccess
/libcore/libart/src/main/java/java/lang/
DClass.java742 @Override public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Class
743 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this); in getDeclaredAnnotations()