private void fixActualPoint(Point actualPoint) {
    if (!isAwtTooltip()) return;
    if (!myIsRealPopup) return;
    if (myForceShowAsPopup) return;

    Dimension size = myComponent.getPreferredSize();
    Balloon.Position position = myHintHint.getPreferredPosition();
    int shift = BalloonImpl.getPointerLength(position, false);
    switch (position) {
      case below -> actualPoint.y += shift;
      case above -> actualPoint.y -= (shift + size.height);
      case atLeft -> actualPoint.x -= (shift + size.width);
      case atRight -> actualPoint.y += shift;
    }
  }
private void fixActualPoint(Point actualPoint)