public static Method getMethod(Object target, String methodName, Class... parameterTypes) {
        try {
            return target.getClass().getMethod(methodName, parameterTypes);
        } catch (NoSuchMethodException e) {
            throw handleException(methodName, e);
        }
    }
public static Method getMethod ( Object target , String methodName , Class ... parameterTypes ) { try { return target . getClass ( ) . getMethod ( methodName , parameterTypes ) ; } catch ( NoSuchMethodException e ) { throw handleException ( methodName , e ) ; } }
Get target method

@param target         target object
@param methodName     method name
@param parameterTypes method parameter types
@return return value