@Nonnull
	public static Type getTypeForVarInsn(@Nonnull VarInsnNode varInsn) {
		return switch (varInsn.getOpcode()) {
			case Opcodes.ISTORE, Opcodes.ILOAD -> Type.INT_TYPE;
			case Opcodes.LSTORE, Opcodes.LLOAD -> Type.LONG_TYPE;
			case Opcodes.FSTORE, Opcodes.FLOAD -> Type.FLOAT_TYPE;
			case Opcodes.DSTORE, Opcodes.DLOAD -> Type.DOUBLE_TYPE;
			default -> Types.OBJECT_TYPE;
		};
	}
@param varInsn
		Variable instruction.

@return Type that encompasses the variable being accessed/written to,
recaf-core/src/main/java/software/coley/recaf/util/AsmInsnUtil.java