private String getNamespace(Symbol symbol) {
		StringBuffer buffer = new StringBuffer();
		Namespace namespace = symbol.getParentNamespace();
		while (namespace != program.getGlobalNamespace()) {
			buffer.insert(0, namespace.getName() + "::");
			namespace = namespace.getParentNamespace();
		}
		return buffer.toString();
	}
Returns the name of symbol qualified with
any namespace information.
For example, "User32.dll::SomeClass::printf".
Ghidra/Features/Base/src/main/java/ghidra/app/util/xml/SymbolTableXmlMgr.java