public void paint(final @NotNull Graphics2D g2, final @NotNull Painter painter, final int height, final int pageOffset) {
      painter.paint(this, g2, height, pageOffset);
    }
public void paint(final @NotNull Graphics2D g2, final @NotNull Painter painter, final int height, final int pageOffset)