void (@NotNull AnalysisScope scope) { if (!GlobalInspectionContextUtil.canRunInspections(myProject, true, myRerunAction)) return; cleanup(); ApplicationManager.getApplication().invokeLater(() -> { myCurrentScope = scope; launchInspections(scope); }, myProject.getDisposed()); }