code: public static List<String> get(String name, @Nullable Boolean value) {
      if (value != null) {
        if (value) {
          return Collections.singletonList("--" + name);
        }
        return Collections.singletonList("--no-" + name);
      }
      return Collections.emptyList();
    }
docs: Returns {@code [--name]} if value is true, {@code [--no-name]} if value is false, {@code []} if
  value is null.