void (Editor editor, @NotNull @NlsSafe String replacementPreviewText) { if (ApplicationManager.getApplication().isUnitTestMode()) { myReplacementPreviewText = replacementPreviewText; return; } myReplacementBalloon = UsagePreviewPanel.buildReplacementPreviewBalloon(replacementPreviewText); EditorUtil.disposeWithEditor(editor, myReplacementBalloon); myReplacementBalloon.show(new ReplacementBalloonPositionTracker(editor), Balloon.Position.below); }