void (@NotNull FileEditor fileEditor) { if (fileEditor instanceof TextEditor textEditor) { Editor editor = textEditor.getEditor(); DefaultHighlightInfoProcessor.repaintErrorStripeAndIcon(editor, myProject, PsiDocumentManager.getInstance(myProject).getCachedPsiFile(editor.getDocument())); } }