Home | History | Annotate | Download | only in reflect

Lines Matching full:methods

138          * Generate a temporary list of virtual methods.
141 Method **methods;
142 if (!gatherMethods(interfaces, &methods, &throws, &methodCount)) {
150 createHandlerMethod(newClass, &newClass->virtualMethods[i], methods[i]);
152 free(methods);
230 * Generate a list of methods. The Method pointers returned point to the
243 Method** methods = NULL;
251 * methods declared by each interface and all of its superinterfaces.
253 maxCount = 3; // 3 methods in java.lang.Object
274 methods = (Method**) malloc(maxCount * sizeof(*methods));
275 allMethods = (Method**) malloc(maxCount * sizeof(*methods));
276 if (methods == NULL || allMethods == NULL)
280 * First three entries are the java.lang.Object methods.
291 * Add the methods from each interface, in order.
327 actualCount = copyWithoutDuplicates(allMethods, allCount, methods, throws);
331 //ALOGI("gathered methods:");
334 // i, methods[i]->clazz->descriptor, methods[i]->name);
337 *pMethods = methods;
345 free(methods);
355 * If duplicate methods have different return types, we want to use the
357 * methods. That is, if we have:
364 * All other duplicate methods are stripped out.
367 * one entry per method in "outMethods". Methods that don't declare any
368 * throwables (or have no common throwables with duplicate methods) will
371 * Returns the number of methods copied into "methods", or -1 on failure.
380 * The plan is to run through all methods, checking all other methods
381 * for a duplicate. If we find a match, we see if the other methods'
861 * This is the common message body for proxy methods.