private void writeStackVariable(XmlWriter writer, Variable var) {
		XmlAttributes attrs = new XmlAttributes();
		attrs.addAttribute("STACK_PTR_OFFSET", var.getStackOffset(), true);
		attrs.addAttribute("NAME", var.getName());
		DataType dt = var.getDataType();
		attrs.addAttribute("DATATYPE", dt.getDisplayName());
		attrs.addAttribute("DATATYPE_NAMESPACE", dt.getCategoryPath().getPath());

		//write the stack variable length, not the datatype length
		attrs.addAttribute("SIZE", var.getLength(), true);

		String comment = var.getComment();
		if (comment == null || comment.length() == 0) {
			writer.writeElement("STACK_VAR", attrs);
		}
		else {
			writer.startElement("STACK_VAR", attrs);
			writeRegularComment(writer, comment);
			writer.endElement("STACK_VAR");
		}
	}
Returns the name of function qualified with
any namespace information.
For example, "User32.dll::SomeClass::printf".
Ghidra/Features/Base/src/main/java/ghidra/app/util/xml/FunctionsXmlMgr.java