default void paint(@NotNull Inlay inlay,
                     @NotNull Graphics2D g,
                     @NotNull Rectangle2D targetRegion,
                     @NotNull TextAttributes textAttributes) {
    Rectangle region =
      new Rectangle((int)targetRegion.getX(), (int)targetRegion.getY(), inlay.getWidthInPixels(), inlay.getHeightInPixels());
    paint(inlay, (Graphics)g, region, textAttributes);
  }
default void paint(@NotNull Inlay inlay,
                     @NotNull Graphics2D g,
                     @NotNull Rectangle2D targetRegion,
                     @NotNull TextAttributes textAttributes)