code: public static <T> T invoke(Object object, String methodName, Object... arguments) throws Exception
    {
      Params.notNull(object, "Object");
      Params.notNullOrEmpty(methodName, "Method name");
      if(object instanceof Class<?>) {
        return invoke(null, (Class<?>)object, methodName, arguments);
      }
      else {
        return invoke(object, object.getClass(), methodName, arguments);
      }
    }
docs: Invoke instance or class method with arguments. If this method <code>object</code> argument is a {@link Class}
  delegate {@link #invoke(Object, Class, String, Object...)} with first argument set to null; otherwise
  <code>object</code> is passed as first argument and its class the second.
  
  @param object object instance or class,
  @param methodName method name,
  @param arguments variable number of arguments.
  @param <T> returned value type.
  @return value returned by method or null.
  @throws NoSuchBeingException if method is not found.
  @throws Exception if invocation fail for whatever reason including method internals.