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