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