get group builder

This commit is contained in:
David Renshaw 2014-05-24 10:45:55 -04:00
parent f0352680a0
commit 57c47cff4b
3 changed files with 7 additions and 1 deletions

View file

@ -613,7 +613,7 @@ private:
kj::strTree(
kj::mv(unionDiscrim.builderIsDecl),
spaces(indent), " public final ", titleCase, ".Builder get", titleCase, "() {\n",
spaces(indent), " throw new Error();\n",
spaces(indent), " return new ", scope, titleCase, ".Builder(_builder);\n",
spaces(indent), " }\n",
spaces(indent), " public final ", titleCase, ".Builder init", titleCase, "() {\n",
spaces(indent), " throw new Error();\n",

View file

@ -33,4 +33,8 @@ public final class BuilderArena implements Arena {
public AllocateResult allocate(int amount) {
throw new Error("unimplemented");
}
public final Vector<ByteBuffer> getSegmentsForOutput() {
throw new Error();
}
}

View file

@ -22,4 +22,6 @@ public final class MessageBuilder {
AnyPointer.Builder ptr = new AnyPointer.Builder(PointerBuilder.getRoot(rootSegment, location));
return ptr.initAsStruct(factory);
}
//public final getSegmentsForOutput()
}