void (@NonNls String actionId) { final Shortcut shortcut = KeymapUtil.getPrimaryShortcut(actionId); final Shortcut selectDelegateShortcut = KeymapUtil.getPrimaryShortcut("SelectVirtualTemplateElement"); if (shortcut != null && selectDelegateShortcut != null) { setAdvertisementText( JavaBundle.message("introduce.parameter.advertisement.text", KeymapUtil.getShortcutText(selectDelegateShortcut), KeymapUtil.getShortcutText(shortcut))); } else { super.showDialogAdvertisement(actionId); } }