@Override
  public @Nullable Inlay getInlineElementAt(@NotNull VisualPosition visualPosition) {
    int offset = myEditor.visualPositionToOffset(visualPosition);
    List<Inlay<?>> inlays = getInlineElementsInRange(offset, offset);
    if (inlays.isEmpty()) return null;
    VisualPosition inlayStartPosition = myEditor.offsetToVisualPosition(offset, false, false);
    if (visualPosition.line != inlayStartPosition.line) return null;
    int inlayIndex = visualPosition.column - inlayStartPosition.column;
    return inlayIndex >= 0 && inlayIndex < inlays.size() ? inlays.get(inlayIndex) : null;
  }
@Override
  public @Nullable Inlay getInlineElementAt(@NotNull VisualPosition visualPosition)