void (@NotNull PsiFile injectedPsi, @NotNull HighlightInfoHolder holder) { HighlightVisitor[] filtered = getHighlightVisitors(injectedPsi); try { List<PsiElement> elements = CollectHighlightsUtil.getElementsInRange(injectedPsi, 0, injectedPsi.getTextLength()); for (HighlightVisitor visitor : filtered) { visitor.analyze(injectedPsi, true, holder, () -> { for (PsiElement element : elements) { ProgressManager.checkCanceled(); visitor.visit(element); } }); } } finally { incVisitorUsageCount(-1); } }