if (methodCallLocations.containsKey(val)) {
VirtualToStaticData data = methodCallLocations.get(val);
// change the call to an invokestatic
it.writeByte(CodeIterator.INVOKESTATIC, index);
// change the method that is being called
it.write16bit(newCallLocations.get(data), index + 1);
if (op == CodeIterator.INVOKEINTERFACE) {
// INVOKEINTERFACE has some extra parameters
it.writeByte(CodeIterator.NOP, index + 3);
it.writeByte(CodeIterator.NOP, index + 4);
}