Type returnType = computeType(returnTypeClass);
String targetClassName = method.getDeclaringClass().getName();
InstructionList instructionList = new InstructionList();
// pushd 'target' and 'value' onto operand stack and check type of each
instructionList.append(new ALOAD(1));
ReferenceType targetType = new ObjectType(targetClassName);
instructionList.append(instructionFactory.createCheckCast(targetType));
Class valueTypeClass = method.getParameterTypes()[0];
Type valueType = computeType(valueTypeClass);
pushAndConvertValueArg(instructionList, instructionFactory, valueTypeClass,