@Override
    public void paint(@NotNull Editor editor, @NotNull Graphics g, @NotNull Rectangle r) {
      EditorGutterComponentEx gutter = ((EditorEx)editor).getGutterComponentEx();
      Graphics2D g2 = (Graphics2D)g;

      int x1 = gutter.getWhitespaceSeparatorOffset();
      int x2 = gutter.getWidth();

      int y = r.y;
      if (myPlacement == SeparatorPlacement.BOTTOM) {
        LOG.warn("BOTTOM gutter line renderers are not supported");
        y += editor.getLineHeight() - 1;
      }

      drawChunkBorderLine(g2, x1, x2, y, myType.getColor(editor), myDoubleLine, myResolved);
    }
@Override
    public void paint(@NotNull Editor editor, @NotNull Graphics g, @NotNull Rectangle r)