docs: public static <T> T invokeMethod(Method method, Object target, Object... args) {
          if (method == null) {
              return null;
          }
  
          method.setAccessible(true);
          try {
              @SuppressWarnings("unchecked")
              T result = (T) method.invoke(target, args);
              return result;
          } catch (Exception e) {
              throw new RuntimeValidateException(e);
          }
      }