public static boolean isConstIntValue(@Nonnull AbstractInsnNode insn) {
		int op = insn.getOpcode();
		if (op == LDC && ((LdcInsnNode) insn).cst instanceof Integer)
			return true;
		return (op >= ICONST_M1 && op <= ICONST_5) || op == SIPUSH || op == BIPUSH;
	}
@param insn
		Instruction to check.

@return {@code true} if the instruction pushes a constant {@code int} value onto the stack.
recaf-core/src/main/java/software/coley/recaf/util/AsmInsnUtil.java