@Nonnull
	public static AbstractInsnNode getDefaultValue(@Nonnull Type type) {
		return switch (type.getSort()) {
			case Type.BOOLEAN, Type.CHAR, Type.BYTE, Type.SHORT, Type.INT -> new InsnNode(ICONST_0);
			case Type.LONG -> new InsnNode(LCONST_0);
			case Type.FLOAT -> new InsnNode(FCONST_0);
			case Type.DOUBLE -> new InsnNode(DCONST_0);
			default -> new InsnNode(ACONST_NULL);
		};
	}
@param type
		Type to push.

@return Instruction to push a default value of the given type onto the stack.
recaf-core/src/main/java/software/coley/recaf/util/AsmInsnUtil.java