public ComponentValidator withValidator(@NotNull Supplier<? extends ValidationInfo> validator) {
    this.validator = validator;
    return this;
  }
public ComponentValidator withValidator(@NotNull Supplier<? extends ValidationInfo> validator)