Home
last modified time | relevance | path

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

/dalvik/libcore/luni-kernel/src/main/java/java/lang/
DPackage.java101 return getDeclaredAnnotations(this, true); in getAnnotations()
111 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Package
112 return getDeclaredAnnotations(this, false); in getDeclaredAnnotations()
125 private static native Annotation[] getDeclaredAnnotations(Package pkg, in getDeclaredAnnotations() method in Package
DClass.java327 Annotation[] annos = getDeclaredAnnotations(); in getAnnotations()
334 annos = sup.getDeclaredAnnotations(); in getAnnotations()
523 native public Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method in Class
/dalvik/libcore/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java56 Annotation [] annotations = AnnotatedClass.class.getDeclaredAnnotations(); in test_annotationType()
83 m1.getDeclaredAnnotations()[0].equals(m2 in test_equals()
84 .getDeclaredAnnotations()[0])); in test_equals()
109 Annotation a1 = me1.getDeclaredAnnotations()[0]; in test_equals()
110 Annotation a2 = me2.getDeclaredAnnotations()[0]; in test_equals()
122 Annotation a1 = me1.getDeclaredAnnotations()[0]; in test_equals()
123 Annotation a2 = me2.getDeclaredAnnotations()[0]; in test_equals()
143 Annotation a1 = AnnotatedClass.class.getDeclaredAnnotations()[0]; in test_hashCode()
161 m1.getDeclaredAnnotations()[0].hashCode()); in test_hashCode()
166 m2.getDeclaredAnnotations()[0].hashCode()); in test_hashCode()
/dalvik/libcore/luni/src/main/java/java/lang/reflect/
DAnnotatedElement.java58 Annotation[] getDeclaredAnnotations(); in getDeclaredAnnotations() method
/dalvik/tests/004-annotations/src/android/test/anno/
DTestAnnotations.java39 annos = c.getDeclaredAnnotations(); in printAnnotations()
50 annos = m.getDeclaredAnnotations(); in printAnnotations()
61 annos = f.getDeclaredAnnotations(); in printAnnotations()
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
DConstructor.java218 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Constructor
219 return getDeclaredAnnotations(declaringClass, slot); in getDeclaredAnnotations()
221 native private Annotation[] getDeclaredAnnotations(Class declaringClass, in getDeclaredAnnotations() method in Constructor
DMethod.java247 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Method
248 return getDeclaredAnnotations(declaringClass, slot); in getDeclaredAnnotations()
250 native private Annotation[] getDeclaredAnnotations(Class declaringClass, in getDeclaredAnnotations() method in Method
DAccessibleObject.java193 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in AccessibleObject
199 return getDeclaredAnnotations(); in getAnnotations()
DField.java195 public Annotation[] getDeclaredAnnotations() { in getDeclaredAnnotations() method in Field
196 return getDeclaredAnnotations(declaringClass, slot); in getDeclaredAnnotations()
199 native private Annotation[] getDeclaredAnnotations(Class declaringClass, int slot); in getDeclaredAnnotations() method in Field
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DPackageTest.java463 Annotation [] annotations = p.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
467 assertEquals(0, p.getDeclaredAnnotations().length); in test_getDeclaredAnnotations()
DClassTest.java413 Annotation [] annotations = PublicTestClass.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
416 annotations = ExtendTestClass.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
419 annotations = TestInterface.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
422 annotations = String.class.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DAccessibleObjectTest.java220 Annotation[] annotations = ao.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DConstructorTest.java162 Annotation[] annotations = ctor1.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DMethodTest.java515 Annotation[] declaredAnnotations = method.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
DFieldTest.java2020 Annotation[] annotations = field.getDeclaredAnnotations(); in test_getDeclaredAnnotations()
/dalvik/tests/044-proxy/src/
DBasicTest.java75 System.out.println("Decl annos: " + Arrays.deepToString(meth.getDeclaredAnnotations())); in main()