Home
last modified time | relevance | path

Searched refs:annos (Results 1 – 8 of 8) sorted by relevance

/dalvik/tests/004-annotations/src/android/test/anno/
DTestAnnotations.java29 Annotation[] annos; in printAnnotations() local
32 annos = clazz.getAnnotations(); in printAnnotations()
34 "(" + annos.length + "):"); in printAnnotations()
35 printAnnotationArray("", annos); in printAnnotations()
39 annos = c.getDeclaredAnnotations(); in printAnnotations()
41 printAnnotationArray(" ", annos); in printAnnotations()
50 annos = m.getDeclaredAnnotations(); in printAnnotations()
52 printAnnotationArray(" ", annos); in printAnnotations()
61 annos = f.getDeclaredAnnotations(); in printAnnotations()
63 printAnnotationArray(" ", annos); in printAnnotations()
/dalvik/vm/native/
Djava_lang_reflect_Constructor.c105 ArrayObject* annos = dvmGetMethodAnnotations(meth); in Dalvik_java_lang_reflect_Constructor_getDeclaredAnnotations() local
106 dvmReleaseTrackedAlloc((Object*)annos, NULL); in Dalvik_java_lang_reflect_Constructor_getDeclaredAnnotations()
107 RETURN_PTR(annos); in Dalvik_java_lang_reflect_Constructor_getDeclaredAnnotations()
126 ArrayObject* annos = dvmGetParameterAnnotations(meth); in Dalvik_java_lang_reflect_Constructor_getParameterAnnotations() local
127 dvmReleaseTrackedAlloc((Object*)annos, NULL); in Dalvik_java_lang_reflect_Constructor_getParameterAnnotations()
128 RETURN_PTR(annos); in Dalvik_java_lang_reflect_Constructor_getParameterAnnotations()
Djava_lang_reflect_Method.c132 ArrayObject* annos = dvmGetMethodAnnotations(meth); in Dalvik_java_lang_reflect_Method_getDeclaredAnnotations() local
133 dvmReleaseTrackedAlloc((Object*)annos, NULL); in Dalvik_java_lang_reflect_Method_getDeclaredAnnotations()
134 RETURN_PTR(annos); in Dalvik_java_lang_reflect_Method_getDeclaredAnnotations()
153 ArrayObject* annos = dvmGetParameterAnnotations(meth); in Dalvik_java_lang_reflect_Method_getParameterAnnotations() local
154 dvmReleaseTrackedAlloc((Object*)annos, NULL); in Dalvik_java_lang_reflect_Method_getParameterAnnotations()
155 RETURN_PTR(annos); in Dalvik_java_lang_reflect_Method_getParameterAnnotations()
Djava_lang_reflect_Field.c377 ArrayObject* annos = dvmGetFieldAnnotations(field); in Dalvik_java_lang_reflect_Field_getDeclaredAnnotations() local
378 dvmReleaseTrackedAlloc((Object*) annos, NULL); in Dalvik_java_lang_reflect_Field_getDeclaredAnnotations()
379 RETURN_PTR(annos); in Dalvik_java_lang_reflect_Field_getDeclaredAnnotations()
Djava_lang_Class.c712 ArrayObject* annos = dvmGetClassAnnotations(clazz); in Dalvik_java_lang_Class_getDeclaredAnnotations() local
713 dvmReleaseTrackedAlloc((Object*) annos, NULL); in Dalvik_java_lang_Class_getDeclaredAnnotations()
714 RETURN_PTR(annos); in Dalvik_java_lang_Class_getDeclaredAnnotations()
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
DAccessibleObject.java207 Annotation[] annos = getAnnotations(); in getAnnotation() local
208 for (int i = annos.length-1; i >= 0; --i) { in getAnnotation()
209 if (annos[i].annotationType() == annotationType) { in getAnnotation()
210 return (T) annos[i]; in getAnnotation()
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
DClass.java327 Annotation[] annos = getDeclaredAnnotations(); in getAnnotations() local
329 for (int i = annos.length-1; i >= 0; --i) in getAnnotations()
330 map.put(annos[i].annotationType(), annos[i]); in getAnnotations()
334 annos = sup.getDeclaredAnnotations(); in getAnnotations()
335 for (int i = annos.length-1; i >= 0; --i) { in getAnnotations()
336 Class clazz = annos[i].annotationType(); in getAnnotations()
339 map.put(clazz, annos[i]); in getAnnotations()
/dalvik/tests/044-proxy/
Dexpected.txt49 Decl annos: []
50 Param annos (1) : [[]]