// call the sm's method with 'this' and 'sm' arguments
insn = insn.append(Insn.create(opc_aload_2));
insn = insn.append(Insn.create(opc_aload_0));
insn = insn.append(Insn.create(opc_aload_1));
insn = insn.append(
new InsnInterfaceInvoke(
pool.addInterfaceMethodRef(
JDO_StateManager_Path,
JDO_SM_replacingStateManager_Name,
JDO_SM_replacingStateManager_Sig),
countMethodArgWords(JDO_SM_replacingStateManager_Sig)));