void (@NotNull InspectionToolWrapper toolWrapper, @NotNull InspectionManagerEx managerEx, @NotNull AnalysisScope scope, @Nullable PsiElement psiElement) { GlobalInspectionContextImpl inspectionContext = createContext(toolWrapper, managerEx, psiElement); inspectionContext.doInspections(scope); }