CPInstruction methodCall =
(CPInstruction)invoke.getInstruction();
// get infos from the constant pool:
ConstantCP methodConst =
(ConstantCP)constPoolGen.getConstant(
methodCall.getIndex() );
ConstantClass classConst =
(ConstantClass)constPoolGen.getConstant(
methodConst.getClassIndex() );
ConstantNameAndType ntConst =
(ConstantNameAndType)constPoolGen.getConstant(
methodConst.getNameAndTypeIndex() );
return new CallInfo(
((ConstantUtf8)constPoolGen.getConstant(
classConst.getNameIndex() )).getBytes(),
ntConst.getName( constPoolGen.getConstantPool() ),