@RequiresEdt
  public void repaintErrorStripePanel(@NotNull Editor editor, @Nullable PsiFile psiFile) {
    if (!myProject.isInitialized()) {
      return;
    }

    ReadAction.run(() -> {
      EditorMarkupModel markup = (EditorMarkupModel)editor.getMarkupModel();
      markup.setErrorPanelPopupHandler(new DaemonEditorPopup(myProject, editor));
      markup.setErrorStripTooltipRendererProvider(new DaemonTooltipRendererProvider(myProject, editor));
      markup.setMinMarkHeight(DaemonCodeAnalyzerSettings.getInstance().getErrorStripeMarkMinHeight());
      if (psiFile != null) {
        setOrRefreshErrorStripeRenderer(markup, psiFile);
      }
    });
  }
@RequiresEdt
  public void repaintErrorStripePanel(@NotNull Editor editor, @Nullable PsiFile psiFile)