public CaretRectangle @Nullable [] getCaretLocations(boolean onlyIfShown) {
    return myCaretCursor.getCaretLocations(onlyIfShown);
  }
public CaretRectangle @Nullable [] getCaretLocations(boolean onlyIfShown)