static Method findInstanceMethod(Class c, String method, Object[] args) { Class _c = c; while (c != null) { for (Method m : c.getDeclaredMethods()) { if (!m.getName().equals(method)) continue; if (!findMethod_checkArgs(m, args, false)) continue; ret m; } c = c.getSuperclass(); } return null; }