void (@NonNls @Nullable String actionId) { Shortcut shortcut = KeymapUtil.getPrimaryShortcut(actionId); if (shortcut != null) { setAdvertisementText(RefactoringBundle.message("inplace.refactoring.advertisement.text", KeymapUtil.getShortcutText(shortcut))); } }