.setMethod(OpenJPAStateManager.class, "getVersion",
Object.class, null);
code.putfield().setField("version", Object.class);
code.vreturn();
code.calculateMaxStack();
code.calculateMaxLocals();
// void loadVersion(OpenJPAStateManager sm)
meth = bc.declareMethod("loadVersion", void.class,
new Class[]{ OpenJPAStateManager.class });
code = meth.getCode(true);