//we get the value of the pair
byte[] value = new byte[2];
value[0] = methodInfo.getBytecodes().get(i++);
value[1] = methodInfo.getBytecodes().get(i++);
Offset o = new Offset(value, (short) 2, true, Destination.BYTECODE);
myOp.getArguments().add(o);
}
break;
case 0x75: //case of slookupswitch
case 0x76: //case of ilookupswitch
short npair = (short) (myOp.getArguments().get(1).getValue()[0] >> 8 | myOp.getArguments().get(1).getValue()[1]);
for (int j = 0; j < npair; j++) {
//we create the operand describing the matchByte 1 and 2
byte[] value = new byte[2];
value[0] = methodInfo.getBytecodes().get(i++);
value[1] = methodInfo.getBytecodes().get(i++);
Operand op = new Operand(value, (short) 2, true);
myOp.getArguments().add(op);
//we create the offset
value=new byte[2];
value[0] = methodInfo.getBytecodes().get(i++);
value[1] = methodInfo.getBytecodes().get(i++);
Offset off = new Offset(value, (short) 2, true, Destination.BYTECODE);
myOp.getArguments().add(off);
}
break;