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

/libcore/luni/src/main/java/java/lang/reflect/
H A DAnnotatedElement.java58 Annotation[] getDeclaredAnnotations(); method in interface:AnnotatedElement
H A DAccessibleObject.java132 public Annotation[] getDeclaredAnnotations() { method in class:AccessibleObject
137 // for all but Class, getAnnotations == getDeclaredAnnotations
138 return getDeclaredAnnotations();
H A DMethod.java266 public Annotation[] getDeclaredAnnotations() { method in class:Method
267 return getDeclaredAnnotations(declaringClass, slot);
269 static native Annotation[] getDeclaredAnnotations(Class<?> declaringClass, int slot); method in class:Method
H A DConstructor.java202 public Annotation[] getDeclaredAnnotations() { method in class:Constructor
203 return Method.getDeclaredAnnotations(declaringClass, slot);
H A DField.java203 @Override public Annotation[] getDeclaredAnnotations() { method in class:Field
204 return getDeclaredAnnotations(declaringClass, slot);
206 private static native Annotation[] getDeclaredAnnotations(Class declaringClass, int slot); method in class:Field
/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/luni/src/main/java/java/lang/
H A DPackage.java104 public Annotation[] getDeclaredAnnotations() { method in class:Package
H A DClass.java282 * @see #getDeclaredAnnotations()
297 Annotation[] declaredAnnotations = getDeclaredAnnotations();
303 declaredAnnotations = sup.getDeclaredAnnotations();
511 native public Annotation[] getDeclaredAnnotations(); method in class:Class
/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();

Completed in 3731 milliseconds