docs: public static Object invokeMethod(
              Object object,
              String methodName,
              Object[] args)
              throws
              NoSuchMethodException,
              IllegalAccessException,
              InvocationTargetException {
  
          if (args == null) {
              args = EMPTY_OBJECT_ARRAY;
          }
          int arguments = args.length;
          Class<?>[] parameterTypes = new Class[arguments];
          for (int i = 0; i < arguments; i++) {
              parameterTypes[i] = args[i].getClass();
          }
          return invokeMethod(object, methodName, args, parameterTypes);
      }