private void writeRegisterVars(XmlWriter writer, Function func) {
		Parameter[] regs = getRegisterParameters(func);
		for (Parameter reg : regs) {
			XmlAttributes attrs = new XmlAttributes();
			attrs.addAttribute("NAME", reg.getName());
			attrs.addAttribute("REGISTER", reg.getRegister().getName());
			attrs.addAttribute("DATATYPE", reg.getDataType().getDisplayName());
			attrs.addAttribute("DATATYPE_NAMESPACE", reg.getDataType().getCategoryPath().getPath());

			String comment = reg.getComment();
			if (comment == null || comment.length() == 0) {
				writer.writeElement("REGISTER_VAR", attrs);
			}
			else {
				writer.startElement("REGISTER_VAR", attrs);
				writeRegularComment(writer, comment);
				writer.endElement("REGISTER_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