@NotNull String clipText(@NotNull SimpleColoredComponent component,
                             @NotNull Graphics2D g2,
                             int fragmentIndex,
                             @NotNull String text,
                             int availTextWidth);
@NotNull String clipText(@NotNull SimpleColoredComponent component,
                             @NotNull Graphics2D g2,
                             int fragmentIndex,
                             @NotNull String text,
                             int availTextWidth)