@Override
  public boolean canReformat(@NotNull Project project, @NotNull Document document) {
    return hasProblems(project, document);
  }
@Override
  public boolean canReformat(@NotNull Project project, @NotNull Document document)