in instrumentation/src/com/intellij/rt/coverage/instrumentation/filters/branches/KotlinWhenStringFilter.java [58:74]
public void visitJumpInsn(int opcode, Label label) {
super.visitJumpInsn(opcode, label);
if (myState == 0 && opcode == Opcodes.IFNULL) {
myJumpLabel = label;
myState++;
} else if (myState == 5 && opcode == Opcodes.IFEQ && label == myDefaultLabel) {
myState = 0;
myContext.removeLastJump();
} else if (myState == 5 && opcode == Opcodes.IFNE) {
myState++;
} else if (myState == 6 && opcode == Opcodes.GOTO && label == myDefaultLabel) {
myState = 3;
myContext.removeLastJump();
} else {
myState = 0;
}
}