src/vs/editor/contrib/hover/modesContentHover.ts/ModesContentHoverWidget/getPosition
class ModesContentHoverWidget:	public getPosition(): IContentWidgetPosition | null {
		if (this._isVisible) {
			return {
				position: this._showAtPosition,
				range: this._showAtRange,
				preference: [
					ContentWidgetPositionPreference.ABOVE,
					ContentWidgetPositionPreference.BELOW
				]
			};
		}
		return null;
	}