899900901902903904905906907908909
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
251252253254255256257258259260261
.loadVariable(fieldDefinition.getName()) .putField(codecType, fieldDefinition); } // return; (implicit) constructor.ret(); classDefinition.addMethod(constructor); } /**
840841842843844845846847848849850
} write.loadVariable(protocol) .invokeVirtual(TProtocolWriter.class, "writeStructEnd", void.class); write.ret(); } /** * Define the write method. */
897898899900901902903904905906907
342343344345346347348349350351352
} } // Restore rsp to original position a.add(rsp, imm(space)); a.ret(); stubs.add(new Stub(name, sig(resultClass, parameterClasses), a)); } static int fCount(ParameterType[] parameterTypes) {
283284285286287288289290291292293
} } // Restore esp to the original position and return a.add(esp, imm(stackadj)); a.ret(); stubs.add(new Stub(name, sig(resultClass, parameterClasses), a)); } static int parameterSize(ParameterType parameterType) {
339340341342343344345346347348349