void (JComponent component, AnAction restorePopupAction) { ShortcutSet quickDocShortcut = ActionManager.getInstance().getAction(IdeActions.ACTION_QUICK_JAVADOC).getShortcutSet(); restorePopupAction.registerCustomShortcutSet(quickDocShortcut, component); }