public void visitIntInsn(final int opcodeUsed, final int operand) {
final Opcode opcode = OPCODES_ARRAY[opcodeUsed];
final Instruction instruction;
if (opcode == Opcode.NEWARRAY) {
instruction = new ReferenceOperandInstruction(instructionList.size(), opcode, currentLineNumber, NEWARRAY_TYPES[operand]);
}
else {
instruction = new IntOperandInstruction(instructionList.size(), opcode, currentLineNumber, operand);
}
updateCurrentState(instruction);