void (@NotNull LightweightHint hint, @NotNull Editor editor, @NotNull Point p, @NotNull JComponent pane, boolean alignToRight, @NotNull TooltipGroup group, @NotNull HintHint hintHint, boolean expand) { //required for immediately showing. Otherwise there are several concurrent issues hint.hide(); hintHint.setShowImmediately(true); Point point = new Point(p); TooltipController.getInstance().showTooltip(editor, point, createRenderer(myText, expand ? pane.getWidth() : 0), alignToRight, group, hintHint); }