public static void addAvoidingDuplicates(DefaultActionGroup group, AnAction[] actions) {
    addAvoidingDuplicates(group, actions, Constraints.LAST, AnAction.EMPTY_ARRAY);
  }
public static void addAvoidingDuplicates(DefaultActionGroup group, AnAction[] actions)