Searched refs:getDeclaredAnnotations (Results 1 - 21 of 21) 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.java188 @Override public Annotation[] getDeclaredAnnotations() { method in class:Constructor
189 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);
H A DMethod.java292 @Override public Annotation[] getDeclaredAnnotations() { method in class:Method
293 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);
H A DAbstractMethod.java166 @Override public Annotation[] getDeclaredAnnotations() { method in class:AbstractMethod
167 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);
H A DField.java233 @Override public Annotation[] getDeclaredAnnotations() { method in class:Field
234 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.java30 assertEquals(0, getClass().getPackage().getDeclaredAnnotations().length);
H A DOldClassTest.java361 Annotation [] annotations = PublicTestClass.class.getDeclaredAnnotations();
364 annotations = ExtendTestClass.class.getDeclaredAnnotations();
367 annotations = TestInterface.class.getDeclaredAnnotations();
370 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/libdvm/src/main/java/java/lang/reflect/
H A DAccessibleObject.java132 public Annotation[] getDeclaredAnnotations() { method in class:AccessibleObject
137 // for all but Class, getAnnotations == getDeclaredAnnotations
138 return getDeclaredAnnotations();
H A DMethod.java257 public Annotation[] getDeclaredAnnotations() { method in class:Method
258 return getDeclaredAnnotations(declaringClass, slot);
260 static native Annotation[] getDeclaredAnnotations(Class<?> declaringClass, int slot); method in class:Method
H A DConstructor.java208 public Annotation[] getDeclaredAnnotations() { method in class:Constructor
209 return Method.getDeclaredAnnotations(declaringClass, slot);
H A DField.java200 @Override public Annotation[] getDeclaredAnnotations() { method in class:Field
201 return getDeclaredAnnotations(declaringClass, slot);
203 private static native Annotation[] getDeclaredAnnotations(Class declaringClass, int slot); method in class:Field
/libcore/luni/src/main/java/java/lang/
H A DPackage.java110 public Annotation[] getDeclaredAnnotations() { method in class:Package
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DAccessibleObjectTest.java172 Annotation[] annotations = ao.getDeclaredAnnotations();
H A DConstructorTest.java129 Annotation[] annotations = ctor1.getDeclaredAnnotations();
H A DMethodTest.java432 * java.lang.reflect.Method#getDeclaredAnnotations()
436 Annotation[] declaredAnnotations = method.getDeclaredAnnotations();
H A DFieldTest.java1761 Annotation[] annotations = field.getDeclaredAnnotations();
/libcore/libdvm/src/main/java/java/lang/
H A DClass.java311 * @see #getDeclaredAnnotations()
326 Annotation[] declaredAnnotations = getDeclaredAnnotations();
332 declaredAnnotations = sup.getDeclaredAnnotations();
519 public native Annotation[] getDeclaredAnnotations(); method in class:Class
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationAccess.java112 for (Annotation declaredAnnotation : getDeclaredAnnotations(c)) {
116 for (Annotation declaredAnnotation : getDeclaredAnnotations(sup)) {
160 public static List<Annotation> getDeclaredAnnotations(AnnotatedElement element) { method in class:AnnotationAccess
/libcore/libart/src/main/java/java/lang/
H A DClass.java347 * @see #getDeclaredAnnotations()
857 @Override public Annotation[] getDeclaredAnnotations() { method in class:Class
858 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this);

Completed in 1640 milliseconds