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