write.visitLabel("default-write")
.loadVariable(protocol)
.invokeVirtual(TProtocolWriter.class, "writeStructEnd", void.class);
write.ret();
}
private void writeField(MethodDefinition write, LocalVariableDefinition protocol, ThriftFieldMetadata field)
{
// push protocol