@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    Project project = e.getProject();
    if (project == null) return;

    AnalysisScope analysisScope = getInspectionScope(e.getDataContext(), project);
    if (analysisScope == null) return;

    FileDocumentManager.getInstance().saveAllDocuments();

    runInspections(project, analysisScope);
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)