docs: static <T extends ComplexResult> T newComplexResult(Supplier<T> supplier, ValidationResult result) {
          T ret = supplier.get();
          if (result.isSuccess()) {
              ret.setIsSuccess(true);
          } else {
              ret.setIsSuccess(false);
              ret.setErrors(result.getErrors());
          }
  
          ret.setTimeElapsed(result.getTimeElapsed());
          return ret;
      }