code: public JavaWriter emitEnumValue(String name, boolean isLast) throws IOException {
      return isLast ? emitLastEnumValue(name) : emitEnumValue(name);
    }
docs: A simple switch to emit the proper enum depending if its last causing it to be terminated
  by a semi-colon ({@code ;}).