Method[] methods=target_class.getDeclaredMethods();
Method[] methods=getAllMethods(target_class);
    Method findMethod(Class target_class) throws Exception {        int     len=args != null? args.length : 0;        Method  m;        Method[] methods=target_class.getDeclaredMethods();        for(int i=0; i < methods.length; i++) {            m=methods[i];            if(m.getName().equals(method_name)) {                if(m.getParameterTypes().length == len)                    return m;            }        }        return null;    }