void (@NotNull PsiElement element) { super.visitElement(element); HashMap<PsiElement, Collection<String>> scopes = new HashMap<>(); boolean suppressAll = collectSuppressions(element, scopes, IGNORE_ALL, mySuppressor); if (suppressAll) { return; } Collection<String> suppressIds = scopes.get(element); if (suppressIds != null) { for (String suppressId : suppressIds) { if (myActiveTools.contains(suppressId) && !isSuppressedFor(element, suppressId, myToolToSuppressScopes.get(suppressId)) && //suppression in local pass is intentionally disabled to pass ALL !SuppressionUtil.inspectionResultSuppressed(element, LocalRedundantSuppressionInspection.this)) { TextRange highlightingRange = mySuppressor.getHighlightingRange(element, suppressId); if (highlightingRange != null) { holder.registerProblem(element, highlightingRange, InspectionsBundle.message("inspection.redundant.suppression.description"), mySuppressor.createRemoveRedundantSuppressionFix(suppressId)); } } } } }