void (Project project, Editor editor, PsiElement errorElement) { if (editor != null) { final TextRange textRange = errorElement.getTextRange(); HighlightManager.getInstance(project).addRangeHighlight(editor, textRange.getStartOffset(), textRange.getEndOffset(), EditorColors.SEARCH_RESULT_ATTRIBUTES, true, new ArrayList<>()); } }