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

/libcore/libart/src/main/java/java/lang/reflect/
H A DAccessibleObject.java91 @Override public Annotation[] getDeclaredAnnotations() { method in class:AccessibleObject
96 // for all but Class, getAnnotations == getDeclaredAnnotations
97 return getDeclaredAnnotations();
H A DConstructor.java184 @Override public Annotation[] getDeclaredAnnotations() { method in class:Constructor
185 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);
H A DMethod.java291 @Override public Annotation[] getDeclaredAnnotations() { method in class:Method
292 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);
H A DAbstractMethod.java197 @Override public Annotation[] getDeclaredAnnotations() { method in class:AbstractMethod
198 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);
H A DField.java243 @Override public Annotation[] getDeclaredAnnotations() { method in class:Field
244 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);
/libcore/luni/src/main/java/java/lang/reflect/
H A DAnnotatedElement.java58 Annotation[] getDeclaredAnnotations(); method in interface:AnnotatedElement
/libcore/luni/src/test/java/libcore/java/lang/
H A DPackageTest.java31 assertEquals(1, getClass().getPackage().getDeclaredAnnotations().length);
H A DOldClassTest.java356 Annotation [] annotations = PublicTestClass.class.getDeclaredAnnotations();
359 annotations = ExtendTestClass.class.getDeclaredAnnotations();
362 annotations = TestInterface.class.getDeclaredAnnotations();
365 annotations = String.class.getDeclaredAnnotations();
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
H A DAnnotationTest.java36 Annotation [] annotations = AnnotatedClass.class.getDeclaredAnnotations();
49 m1.getDeclaredAnnotations()[0].equals(m2
50 .getDeclaredAnnotations()[0]));
75 Annotation a1 = me1.getDeclaredAnnotations()[0];
76 Annotation a2 = me2.getDeclaredAnnotations()[0];
88 Annotation a1 = me1.getDeclaredAnnotations()[0];
89 Annotation a2 = me2.getDeclaredAnnotations()[0];
103 Annotation a1 = AnnotatedClass.class.getDeclaredAnnotations()[0];
121 m1.getDeclaredAnnotations()[0].hashCode());
126 m2.getDeclaredAnnotations()[
[all...]
/libcore/luni/src/main/java/java/lang/
H A DPackage.java114 public Annotation[] getDeclaredAnnotations() { method in class:Package
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DAccessibleObjectTest.java172 Annotation[] annotations = ao.getDeclaredAnnotations();
H A DConstructorTest.java128 Annotation[] annotations = ctor1.getDeclaredAnnotations();
H A DMethodTest.java432 * java.lang.reflect.Method#getDeclaredAnnotations()
436 Annotation[] declaredAnnotations = method.getDeclaredAnnotations();
H A DFieldTest.java1532 Annotation[] annotations = field.getDeclaredAnnotations();
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationAccess.java111 for (Annotation declaredAnnotation : getDeclaredAnnotations(c)) {
115 for (Annotation declaredAnnotation : getDeclaredAnnotations(sup)) {
159 public static List<Annotation> getDeclaredAnnotations(AnnotatedElement element) { method in class:AnnotationAccess
/libcore/libart/src/main/java/java/lang/
H A DClass.java366 * @see #getDeclaredAnnotations()
742 @Override public Annotation[] getDeclaredAnnotations() { method in class:Class
743 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);

Completed in 247 milliseconds