void (@NotNull Object2IntMap<HighlightDisplayLevel> counter) { if (!isExcluded() && isLeaf() && !getPresentation().isProblemResolved(getElement()) && !getPresentation() .isSuppressed(getElement())) { HighlightSeverity severity = InspectionToolResultExporter.getSeverity(getElement(), null, getPresentation()); HighlightDisplayLevel level = HighlightDisplayLevel.find(severity); counter.mergeInt(level, 1, Math::addExact); return; } super.visitProblemSeverities(counter); }