docs: public Object invokeMethod(Object object, String methodName, Object arguments) {
          if (arguments == null) {
              return invokeMethod(object, methodName, MetaClassHelper.EMPTY_ARRAY);
          }
          if (arguments instanceof Tuple) {
              Tuple tuple = (Tuple) arguments;
              return invokeMethod(object, methodName, tuple.toArray());
          }
          if (arguments instanceof Object[]) {
              return invokeMethod(object, methodName, (Object[]) arguments);
          } else {
              return invokeMethod(object, methodName, new Object[]{arguments});
          }
      }