docs: private static String join(String sep, Collection<String> collection) {
      StringBuilder builder = new StringBuilder();
      boolean first = true;
      for (String element : collection) {
        if (first) {
          first = false;
        } else {
          builder.append(sep);
        }
        builder.append(element);
      }
      return builder.toString();
    }