@Override
  protected @NotNull List<ValidationInfo> doValidateAll() {
    final List<ValidationInfo> warnings = new SmartList<>();
    final String name = getName();
    if (StringUtil.isEmpty(name)) {
      warnings.add(new ValidationInfo(InspectionsBundle.message("dialog.message.name.must.not.be.empty"), myNameTextField));
    }
    else {
      String errorMessage = myNameValidator.apply(name);
      if (errorMessage != null) {
        warnings.add(new ValidationInfo(errorMessage, myNameTextField));
      }
    }
    final String suppressId = getSuppressId();
    if (!StringUtil.isEmpty(suppressId)) {
      if (!mySuppressIdPattern.matcher(suppressId).matches()) {
        warnings.add(new ValidationInfo(InspectionsBundle.message("dialog.message.suppress.id.must.match.regex"), mySuppressIdTextField));
      }
    }
    return warnings;
  }
@Override
  protected @NotNull List<ValidationInfo> doValidateAll()