@Override
  protected @NotNull PsiBasedStripTrailingSpacesFilter createFilter(@NotNull Document document) {
    return new JavaPsiBasedStripTrailingSpacesFilter(document);
  }
@Override
  protected @NotNull PsiBasedStripTrailingSpacesFilter createFilter(@NotNull Document document)