Home
last modified time | relevance | path

Searched refs:declaringClass (Results 1 – 11 of 11) sorted by relevance

/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
DField.java51 private Class<?> declaringClass; field in Field
85 this(orig.declaringClass, orig.type, orig.name, orig.slot); in Field()
93 private Field(Class<?> declaringClass, Class<?> type, String name, int slot) { in Field() argument
94 this.declaringClass = declaringClass; in Field()
105 parser.parseForField(this.declaringClass, signatureAttribute); in initGenericType()
117 Object[] annotation = getSignatureAnnotation(declaringClass, slot); in getSignatureAttribute()
129 native private Object[] getSignatureAnnotation(Class declaringClass, int slot); in getSignatureAnnotation() argument
138 int flags = getFieldModifiers(declaringClass, slot); in isSynthetic()
172 int flags = getFieldModifiers(declaringClass, slot); in isEnumConstant()
196 return getDeclaredAnnotations(declaringClass, slot); in getDeclaredAnnotations()
[all …]
DConstructor.java55 Class<T> declaringClass; field in Constructor
101 private Constructor (Class<T> declaringClass, Class<?>[] ptypes, Class<?>[] extypes, int slot){ in Constructor() argument
102 this.declaringClass = declaringClass; in Constructor()
109 Object[] annotation = getSignatureAnnotation(declaringClass, slot); in getSignatureAttribute()
122 native private Object[] getSignatureAnnotation(Class declaringClass, in getSignatureAnnotation() argument
219 return getDeclaredAnnotations(declaringClass, slot); in getDeclaredAnnotations()
221 native private Annotation[] getDeclaredAnnotations(Class declaringClass, in getDeclaredAnnotations() argument
236 = getParameterAnnotations(declaringClass, slot); in getParameterAnnotations()
242 native private Annotation[][] getParameterAnnotations(Class declaringClass, in getParameterAnnotations() argument
255 int mods = getConstructorModifiers(declaringClass, slot); in isVarArgs()
[all …]
DMethod.java54 private Class<?> declaringClass; field in Method
90 this(orig.declaringClass, orig.parameterTypes, orig.exceptionTypes, in Method()
101 this.declaringClass = declaring; in Method()
116 Object[] annotation = getSignatureAnnotation(declaringClass, slot); in getSignatureAttribute()
129 native private Object[] getSignatureAnnotation(Class declaringClass, in getSignatureAnnotation() argument
248 return getDeclaredAnnotations(declaringClass, slot); in getDeclaredAnnotations()
250 native private Annotation[] getDeclaredAnnotations(Class declaringClass, in getDeclaredAnnotations() argument
278 = getParameterAnnotations(declaringClass, slot); in getParameterAnnotations()
285 native private Annotation[][] getParameterAnnotations(Class declaringClass, in getParameterAnnotations() argument
296 int modifiers = getMethodModifiers(declaringClass, slot); in isVarArgs()
[all …]
/dalvik/vm/native/
Djava_lang_reflect_Method.c34 ClassObject* declaringClass = (ClassObject*) args[1]; in Dalvik_java_lang_reflect_Method_getMethodModifiers() local
38 meth = dvmSlotToMethod(declaringClass, slot); in Dalvik_java_lang_reflect_Method_getMethodModifiers()
54 ClassObject* declaringClass = (ClassObject*) args[3]; in Dalvik_java_lang_reflect_Method_invokeNative() local
66 meth = dvmSlotToMethod(declaringClass, slot); in Dalvik_java_lang_reflect_Method_invokeNative()
70 if (!dvmIsClassInitialized(declaringClass)) { in Dalvik_java_lang_reflect_Method_invokeNative()
71 if (!dvmInitClass(declaringClass)) in Dalvik_java_lang_reflect_Method_invokeNative()
76 if (dvmIsInterfaceClass(declaringClass) && in Dalvik_java_lang_reflect_Method_invokeNative()
77 !dvmIsClassInitialized(declaringClass)) in Dalvik_java_lang_reflect_Method_invokeNative()
79 if (!dvmInitClass(declaringClass)) in Dalvik_java_lang_reflect_Method_invokeNative()
84 if (!dvmVerifyObjectInClass(methObj, declaringClass)) { in Dalvik_java_lang_reflect_Method_invokeNative()
[all …]
Djava_lang_reflect_Constructor.c31 ClassObject* declaringClass = (ClassObject*) args[1]; in Dalvik_java_lang_reflect_Constructor_getConstructorModifiers() local
35 meth = dvmSlotToMethod(declaringClass, slot); in Dalvik_java_lang_reflect_Constructor_getConstructorModifiers()
54 ClassObject* declaringClass = (ClassObject*) args[2]; in Dalvik_java_lang_reflect_Constructor_constructNative() local
61 if (dvmIsAbstractClass(declaringClass)) { in Dalvik_java_lang_reflect_Constructor_constructNative()
63 declaringClass->descriptor); in Dalvik_java_lang_reflect_Constructor_constructNative()
68 if (!dvmIsClassInitialized(declaringClass)) { in Dalvik_java_lang_reflect_Constructor_constructNative()
69 if (!dvmInitClass(declaringClass)) { in Dalvik_java_lang_reflect_Constructor_constructNative()
71 declaringClass->descriptor); in Dalvik_java_lang_reflect_Constructor_constructNative()
77 newObj = dvmAllocObject(declaringClass, ALLOC_DEFAULT); in Dalvik_java_lang_reflect_Constructor_constructNative()
81 meth = dvmSlotToMethod(declaringClass, slot); in Dalvik_java_lang_reflect_Constructor_constructNative()
[all …]
Djava_lang_reflect_Field.c59 static JValue* getFieldDataAddr(Object* obj, ClassObject* declaringClass, in getFieldDataAddr() argument
65 field = dvmSlotToField(declaringClass, slot); in getFieldDataAddr()
102 samePackage = dvmInSamePackage(declaringClass, callerClass); in getFieldDataAddr()
114 if (!dvmIsClassInitialized(declaringClass)) { in getFieldDataAddr()
115 if (!dvmInitClass(declaringClass)) { in getFieldDataAddr()
128 if (!dvmVerifyObjectInClass(obj, declaringClass)) { in getFieldDataAddr()
132 obj->clazz->descriptor, declaringClass->descriptor); in getFieldDataAddr()
149 ClassObject* declaringClass = (ClassObject*) args[1]; in Dalvik_java_lang_reflect_Field_getFieldModifiers() local
153 field = dvmSlotToField(declaringClass, slot); in Dalvik_java_lang_reflect_Field_getFieldModifiers()
168 ClassObject* declaringClass = (ClassObject*) args[2]; in Dalvik_java_lang_reflect_Field_getField() local
[all …]
/dalvik/libcore/luni/src/main/native/
Djava_io_ObjectOutputStream.c23 jclass declaringClass, in java_getFieldLong() argument
26 jfieldID fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "J"); in java_getFieldLong()
43 jclass declaringClass, in java_getFieldShort() argument
46 jfieldID fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "S"); in java_getFieldShort()
63 jclass declaringClass, in java_getFieldDouble() argument
66 jfieldID fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "D"); in java_getFieldDouble()
83 jclass declaringClass, in java_getFieldBool() argument
86 jfieldID fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "Z"); in java_getFieldBool()
103 jclass declaringClass, in java_getFieldByte() argument
106 jfieldID fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "B"); in java_getFieldByte()
[all …]
Djava_io_ObjectInputStream.c23 jclass declaringClass, in java_setFieldBool() argument
32 fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "Z"); in java_setFieldBool()
46 jclass declaringClass, in java_setFieldChar() argument
55 fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "C"); in java_setFieldChar()
69 jclass declaringClass, in java_setFieldInt() argument
78 fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "I"); in java_setFieldInt()
92 jclass declaringClass, in java_setFieldFloat() argument
101 fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "F"); in java_setFieldFloat()
115 jclass declaringClass, in java_setFieldDouble() argument
124 fid = (*env)->GetFieldID(env, declaringClass, fieldNameInC, "D"); in java_setFieldDouble()
[all …]
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
DStackTraceElement.java38 String declaringClass; field in StackTraceElement
69 declaringClass = cls; in StackTraceElement()
149 return (declaringClass == null) ? "<unknown class>" : declaringClass; in getClassName()
199 return methodName.hashCode() ^ declaringClass.hashCode(); in hashCode()
/dalvik/libcore/luni/src/main/java/java/io/
DObjectOutputStream.java545 Class<?> declaringClass, String fieldName); in getFieldBool() argument
548 Class<?> declaringClass, String fieldName); in getFieldByte() argument
551 Class<?> declaringClass, String fieldName); in getFieldChar() argument
554 Class<?> declaringClass, String fieldName); in getFieldDouble() argument
557 Class<?> declaringClass, String fieldName); in getFieldFloat() argument
560 Class<?> declaringClass, String fieldName); in getFieldInt() argument
563 Class<?> declaringClass, String fieldName); in getFieldLong() argument
566 Class<?> declaringClass, String fieldName, String fieldTypeName); in getFieldObj() argument
569 Class<?> declaringClass, String fieldName); in getFieldShort() argument
1098 Class<?> declaringClass = classDesc.forClass(); in writeFieldValues() local
[all …]
DObjectInputStream.java1248 Class<?> declaringClass = classDesc.forClass(); in readFieldValues() local
1249 if (declaringClass == null && mustResolve) { in readFieldValues()
1266 setField(obj, declaringClass, fieldDesc.getName(), in readFieldValues()
1270 setField(obj, declaringClass, fieldDesc.getName(), in readFieldValues()
1274 setField(obj, declaringClass, fieldDesc.getName(), in readFieldValues()
1278 setField(obj, declaringClass, fieldDesc.getName(), in readFieldValues()
1282 setField(obj, declaringClass, fieldDesc.getName(), in readFieldValues()
1286 setField(obj, declaringClass, fieldDesc.getName(), in readFieldValues()
1290 setField(obj, declaringClass, fieldDesc.getName(), in readFieldValues()
1294 setField(obj, declaringClass, fieldDesc.getName(), in readFieldValues()
[all …]