@Override
  public <T extends EditorCustomElementRenderer> Inlay<T> addAfterLineEndElement(int offset,
                                                                                 @NotNull InlayProperties properties,
                                                                                 @NotNull T renderer) {
    return addAfterLineEndElement(offset, properties.isRelatedToPrecedingText(), !properties.isSoftWrappingDisabled(),
                                  properties.getPriority(), renderer);
  }
@Override
  public <T extends EditorCustomElementRenderer> Inlay<T> addAfterLineEndElement(int offset,
                                                                                 @NotNull InlayProperties properties,
                                                                                 @NotNull T renderer)