public static boolean isFlowControl(@Nonnull AbstractInsnNode insn) {
		int type = insn.getType();
		return type == AbstractInsnNode.JUMP_INSN ||
				type == AbstractInsnNode.TABLESWITCH_INSN ||
				type == AbstractInsnNode.LOOKUPSWITCH_INSN ||
				insn.getOpcode() == ATHROW || insn.getOpcode() == RET;
	}
@param insn
		Instruction to check.

@return {@code true} if the instruction modifies the control flow.
recaf-core/src/main/java/software/coley/recaf/util/AsmInsnUtil.java