void (String actionID, Supplier<? extends AnAction> actionSupplier) { AnAction anAction = ActionManager.getInstance().getAction(actionID); if (anAction == null) return; ShortcutSet shortcuts = anAction.getShortcutSet(); actionSupplier.get().registerCustomShortcutSet(shortcuts, this, this); }