while (iterator.hasNext()) {
final BytecodeInstruction instruction = iterator.next();
final BytecodeInstructionType type = instruction.getType();
if (type == BytecodeInstructionType.FRAME ||
type == BytecodeInstructionType.LINE_NUMBER ||
type == BytecodeInstructionType.LABEL ||
type == BytecodeInstructionType.NOP) {