private static List<String> getAvailableOptions(boolean showAll) {
    final List<String> options = new ArrayList<>();
    options.add(getAdd());
    if (showAll) {
      options.add(getAll());
    }
    return options;
  }
private static List<String> getAvailableOptions(boolean showAll)