public static void registerActionShortcuts(final List<? extends AnAction> actions, final JComponent component) {
    for (AnAction action : actions) {
      action.registerCustomShortcutSet(action.getShortcutSet(), component);
    }
  }
public static void registerActionShortcuts(final List<? extends AnAction> actions, final JComponent component)