private void registerIntentionShortcut(@NotNull IntentionAction intention) {
      ShortcutSet shortcuts = IntentionShortcutManager.getInstance().getShortcutSet(intention);
      if (shortcuts == null) return;

      for (Shortcut shortcut : shortcuts.getShortcuts()) {
        if (shortcut instanceof KeyboardShortcut keyboardShortcut) {
          ((WizardPopup)myListPopup).registerAction(
            IntentionShortcutUtils.getWrappedActionId(intention), keyboardShortcut.getFirstKeyStroke(), createAction(e -> {
              close();
              IntentionShortcutUtils.invokeAsAction(intention, myEditor, myFile);
            })
          );
        }
      }
    }
private void registerIntentionShortcut(@NotNull IntentionAction intention)