private String getNamespace(Symbol symbol) {
		StringBuffer buffer = new StringBuffer();
		Namespace namespace = symbol.getParentNamespace();
		while (!namespace.isGlobal()) {
			buffer.insert(0, namespace.getName() + "::");
			if (namespace instanceof GhidraClass) {
				namespaceIsClass = true;
			}
			namespace = namespace.getParentNamespace();
		}
		return buffer.toString();
	}
Returns the name of symbol qualified with any namespace information. For
example, "User32.dll::SomeClass::printf".
Ghidra/Features/Sarif/src/main/java/sarif/export/symbols/ExtSymbol.java