code: public JavaWriter emitEnumValues(Iterable<String> names) throws IOException {
      Iterator<String> iterator = names.iterator();
  
      while (iterator.hasNext()) {
        String name = iterator.next();
        if (iterator.hasNext()) {
          emitEnumValue(name);
        } else {
          emitLastEnumValue(name);
        }
      }
  
      return this;
    }
docs: Emit a list of enum values followed by a semi-colon ({@code ;}).