private void paintGutterRenderers(Graphics2D g,
                                    int firstVisibleOffset, int lastVisibleOffset, int firstVisibleLine, int lastVisibleLine) {
    Object hint = g.getRenderingHint(RenderingHints.KEY_ANTIALIASING);
    g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    boolean stickyLinePainting = myEditor.isStickyLinePainting();
    try {
      List<RangeHighlighter> highlighters = new ArrayList<>();
      processRangeHighlighters(firstVisibleOffset, lastVisibleOffset, highlighter -> {
        LineMarkerRenderer r = highlighter.getLineMarkerRenderer();
        if (r != null) {
          // suppress gutter line markers on sticky lines panel
          if (!stickyLinePainting || (r instanceof LineMarkerRendererEx rx && rx.isSticky())) {
            highlighters.add(highlighter);
          }
        }
      });

      ContainerUtil.sort(highlighters, Comparator.comparingInt(RangeHighlighter::getLayer));

      for (RangeHighlighter highlighter : highlighters) {
        paintLineMarkerRenderer(highlighter, g);
      }
    }
    finally {
      g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, hint);
    }

    if (!stickyLinePainting) { // suppress gutter icons on sticky lines panel
      paintIcons(firstVisibleLine, lastVisibleLine, g);
    }
  }
private void paintGutterRenderers(Graphics2D g,
                                    int firstVisibleOffset, int lastVisibleOffset, int firstVisibleLine, int lastVisibleLine)