/** * <p>Returns the <code>Method</code> appropriate to the specified * object instance, method name, and parameters.</p> * @param object the Object instance of interest * @param methodName the name of the method * @param params the parameters for the specified method * @return a Method that can be invoked with the specified parameters */ public static Method lookupMethod(Object object, String methodName, Class<?>... params) { Class<?> clazz = object.getClass(); ClassLoader loader = Util.getCurrentLoader(clazz); if (loader == null) { return null; } return getMetaData(loader, clazz).lookupMethod(methodName, params); }
/** * <p>Returns the <code>Method</code> appropriate to the specified * object instance, method name, and parameters.</p> * @param object the Object instance of interest * @param methodName the name of the method * @param params the parameters for the specified method * @return a Method that can be invoked with the specified parameters */ public static Method lookupMethod(Object object, String methodName, Class<?>... params) { Class<?> clazz = object.getClass(); ClassLoader loader = Util.getCurrentLoader(clazz); if (loader == null) { return null; } return getMetaData(loader, clazz).lookupMethod(methodName, params); }
/** * <p>Returns the <code>Method</code> appropriate to the specified * object instance, method name, and parameters.</p> * @param object the Object instance of interest * @param methodName the name of the method * @param params the parameters for the specified method * @return a Method that can be invoked with the specified parameters */ public static Method lookupMethod(Object object, String methodName, Class<?>... params) { Class<?> clazz = object.getClass(); ClassLoader loader = Util.getCurrentLoader(clazz); if (loader == null) { return null; } return getMetaData(loader, clazz).lookupMethod(methodName, params); }
/** * <p>Returns the <code>Method</code> appropriate to the specified * Class, method name, and parameters.</p> * @param clazz the Class of interest * @param methodName the name of the method * @param params the parameters for the specified method * @return a Method that can be invoked with the specified parameters */ public static Method lookupMethod( Class<?> clazz, String methodName, Class<?>... params) { ClassLoader loader = Util.getCurrentLoader(clazz); if (loader == null) { return null; } return getMetaData(loader, clazz).lookupMethod(methodName, params); }
/** * <p>Returns the <code>Method</code> appropriate to the specified * Class, method name, and parameters.</p> * @param clazz the Class of interest * @param methodName the name of the method * @param params the parameters for the specified method * @return a Method that can be invoked with the specified parameters */ public static Method lookupMethod( Class<?> clazz, String methodName, Class<?>... params) { ClassLoader loader = Util.getCurrentLoader(clazz); if (loader == null) { return null; } return getMetaData(loader, clazz).lookupMethod(methodName, params); }
/** * <p>Returns the <code>Method</code> appropriate to the specified * Class, method name, and parameters.</p> * @param clazz the Class of interest * @param methodName the name of the method * @param params the parameters for the specified method * @return a Method that can be invoked with the specified parameters */ public static Method lookupMethod(Class<?> clazz, String methodName, Class<?>... params) { ClassLoader loader = Util.getCurrentLoader(clazz); if (loader == null) { return null; } return getMetaData(loader, clazz).lookupMethod(methodName, params); }
/** * <p>Returns the <code>Method</code> appropriate to the specified * Class, method name, and parameters.</p> * @param clazz the Class of interest * @param methodName the name of the method * @param params the parameters for the specified method * @return a Method that can be invoked with the specified parameters */ public static Method lookupMethod(Class<?> clazz, String methodName, Class<?>... params) { ClassLoader loader = Util.getCurrentLoader(clazz); if (loader == null) { return null; } return getMetaData(loader, clazz).lookupMethod(methodName, params); }
/** * <p>Returns the <code>Method</code> appropriate to the specified * Class, method name, and parameters.</p> * @param clazz the Class of interest * @param methodName the name of the method * @param params the parameters for the specified method * @return a Method that can be invoked with the specified parameters */ public static Method lookupMethod(Class<?> clazz, String methodName, Class<?>... params) { ClassLoader loader = Util.getCurrentLoader(clazz); if (loader == null) { return null; } return getMetaData(loader, clazz).lookupMethod(methodName, params); }