void () { myRerun = true; if (myScope.isValid()) { myGlobalInspectionContext.doInspections(myScope); } else { GlobalInspectionContextImpl.NOTIFICATION_GROUP.createNotification(InspectionsBundle.message("inspection.view.invalid.scope.message"), NotificationType.INFORMATION).notify(getProject()); } }