Home | History | Annotate | Download | only in reflect

Lines Matching refs:Method

117  * Convert the method signature to an array of classes.
122 * "defClass" is the method's class, which is needed to make class loaders
341 * Convert a method pointer to a slot number.
346 static int methodToSlot(const Method* meth)
364 * Convert a slot number to a method pointer.
366 Method* dvmSlotToMethod(ClassObject* clazz, int slot)
388 static Object* createConstructorObject(Method* meth)
460 * Ordinarily we init the class the first time we resolve a method.
471 Method* meth = &clazz->directMethods[i];
492 Method* meth = &clazz->directMethods[i];
514 * Create a new java/lang/reflect/Method object, using the contents of
520 * private Method(Class declaring, Class[] paramTypes, Class[] exceptTypes,
525 Object* dvmCreateReflectMethodObject(const Method* meth)
574 /* method name */
586 LOGD("Method class init threw exception");
623 Method* meth = clazz->virtualMethods;
639 * Create an array of Method objects.
711 static Object* findConstructorOrMethodInArray(int methodsCount, Method* methods,
714 Method* method = NULL;
715 Method* result = NULL;
719 method = &methods[i];
720 if (strcmp(name, method->name) != 0
721 || dvmIsMirandaMethod(method)
722 || dexProtoCompareToParameterDescriptors(&method->prototype,
727 result = method;
732 * a non-synthetic method in such situations. We may still return
733 * a synthetic method to handle situations like escalated visibility.
735 if (!dvmIsSyntheticMethod(method)) {
748 * Get the named method.
1045 * We could invoke the "toValue" method on the box types to take
1147 ClassObject* dvmGetBoxedReturnType(const Method* meth)
1198 * JNI reflection support: convert reflection object to Method ptr.
1200 Method* dvmGetMethodFromReflectObj(Object* obj)
1218 /* must initialize the class before returning a method ID */
1242 * JNI reflection support: convert Method to reflection object.
1244 * The returned object will be either a java.lang.reflect.Method or
1245 * .Constructor, depending on whether "method" is a constructor.
1251 Object* dvmCreateReflectObjForMethod(const ClassObject* clazz, Method* method)
1255 if (strcmp(method->name, "<init>") == 0) {
1259 return createConstructorObject(method);
1264 return dvmCreateReflectMethodObject(method);