Lines Matching refs:methods

236      * Returns an array containing all public methods on the type represented by this ModelClass
242 * @param staticOnly Whether only static methods should be returned or both instance methods
243 * and static methods are valid.
245 * @return An array containing all public methods with the name <code>name</code> and taking
249 ModelMethod[] methods = getDeclaredMethods();
251 for (ModelMethod method : methods) {
261 * Returns all public instance methods with the given name and number of parameters.
265 * @return An array containing all public methods with the given name and number of parameters.
268 ModelMethod[] methods = getDeclaredMethods();
270 for (ModelMethod method : methods) {
291 ModelMethod[] methods = getMethods(name, args, staticOnly);
292 L.d("looking methods for %s. static only ? %s . method count: %d", name, staticOnly,
293 methods.length);
294 for (ModelMethod method : methods) {
297 if (methods.length == 0) {
300 ModelMethod bestMethod = methods[0];
301 for (int i = 1; i < methods.length; i++) {
302 if (methods[i].isBetterArgMatchThan(bestMethod, args)) {
303 bestMethod = methods[i];
364 * Returns a list of all abstract methods in the type.
368 ModelMethod[] methods = getDeclaredMethods();
369 for (ModelMethod method : methods) {
381 * @param staticOnly Whether this should look for static methods and fields or instance
397 ModelMethod[] methods = getMethods(methodName, new ArrayList<ModelClass>(), staticOnly);
398 for (ModelMethod method : methods) {
465 ModelMethod[] methods = getMethods(methodName, new ArrayList<ModelClass>(), false);
466 for (ModelMethod method : methods) {
500 List<ModelMethod> methods = findMethods(name, getter.isStatic());
501 if (methods != null) {
503 for (ModelMethod method : methods) {
517 * Finds public methods that matches the given name exactly. These may be resolved into
518 * listener methods during Expr.resolveListeners.
521 ModelMethod[] methods = getDeclaredMethods();
523 for (ModelMethod method : methods) {