void (@NotNull PsiErrorElement element) { if (HighlightErrorFilter.EP_NAME.findFirstSafe(myProject, filter -> !filter.shouldHighlightErrorElement(element)) != null) { return; } myHolder.add(createErrorElementInfo(element)); }