targetClass.getMethods()[methodIdx].isStatic() );
executionWrappers.put( completeSig, eWrapper );
Logger.info( "installing method wrapper for %s", completeSig );
ExecutionWrapperMethodPatcher mp =
new ExecutionWrapperMethodPatcher(
targetClass.getMethods()[methodIdx], targetClass.getClassName(),
constPoolGen );
// get the wrapped method
targetClass.getMethods()[methodIdx] = mp.install();
// and update the class because of this change
targetClass.setConstantPool(
constPoolGen.getFinalConstantPool() );