@Override
  public Rectangle getTextLocation(TextHitInfo offset) {
    Rectangle[] boxes =
      ObjectUtils.notNull(myCompositionCharacterBounds, new Rectangle[]{getDefaultImePositions()});
    Rectangle candidateWindowPosition = boxes.length == 0 ? getDefaultImePositions() : new Rectangle(boxes[0]);

    var componentLocation = myMyComponent.getLocationOnScreen();
    candidateWindowPosition.translate(componentLocation.x, componentLocation.y);
    CefLog.Debug("InputMethodRequests::getTextLocation(offset: %s) -> %s", offset, candidateWindowPosition);
    return candidateWindowPosition;
  }
@Override
  public Rectangle getTextLocation(TextHitInfo offset)