protected void restartAnalysis(final @NotNull Project project, final @NotNull AnalysisScope scope) {
    AppUIExecutor.onUiThread().inSmartMode(project).execute(() -> analyze(project, scope));
  }
protected void restartAnalysis(final @NotNull Project project, final @NotNull AnalysisScope scope)