code: public static Object invoke(Object source, Method method, Object[] parameterValues)
              throws MethodException {
  
          try {
              return method.invoke(source, parameterValues);
          } catch (Exception e) {
              throw new MethodException(INVOKE_METHOD_FAILED, e);
          }
      }
docs: Invokes given method on the given source object with the specified
  parameters.
  
  @param source
  the object which you want to handle.
  @param method
  the method which you want to call.
  @param parameterValues
  the parameter values of the method which you want to call.
  @return an object which is invoked method returns.
  @throws MethodException