private @Nullable StickyLinesManager createStickyLinesPanel() {
    if (myProject != null && myKind == EditorKind.MAIN_EDITOR && !isMirrored()) {
      StickyLinesModel stickyModel = StickyLinesModel.getModel(myDocumentMarkupModel.getDelegate());
      VisualStickyLines visualStickyLines = new VisualStickyLines(this, stickyModel);
      StickyLineShadowPainter shadowPainter = new StickyLineShadowPainter();
      StickyLinesPanel stickyPanel = new StickyLinesPanel(this, shadowPainter, visualStickyLines);
      StickyLinesManager stickyManager = new StickyLinesManager(
        this, stickyModel,
        stickyPanel,
        shadowPainter,
        visualStickyLines,
        myDisposable
      );
      myLayeredPane.add(stickyPanel, STICKY_PANEL_LAYER);
      myLayeredPane.add(myVerticalScrollBar, VERTICAL_SCROLLBAR_LAYER);
      ((MyScrollPaneLayout) myScrollPane.getLayout()).setVerticalScrollBar(myVerticalScrollBar);
      return stickyManager;
    } else {
      return null;
    }
  }
private @Nullable StickyLinesManager createStickyLinesPanel()