handler.setStart(il.append(new ASTORE(handler.getIndex())));
// Call the method that implements this result tree
index = cpg.addMethodref(className, _methodName,
"("+DOM_INTF_SIG+TRANSLET_OUTPUT_SIG+")V");
il.append(new INVOKEVIRTUAL(index));
// Restore new handler and call getValue()
handler.setEnd(il.append(new ALOAD(handler.getIndex())));
index = cpg.addMethodref(STRING_VALUE_HANDLER,
"getValue",
"()" + STRING_SIG);
il.append(new INVOKEVIRTUAL(index));
}
}