private static List<String> getNamespaceList(Demangled typeNamespace) {
		List<String> list = new ArrayList<>();
		Demangled ns = typeNamespace;
		while (ns != null) {
			list.add(0, ns.getNamespaceName());
			ns = ns.getNamespace();
		}
		return list;
	}
Build namespace name list
@param typeNamespace demangled namespace object
@return list of namespace names
Ghidra/Features/Base/src/main/java/ghidra/app/util/demangler/DemangledObject.java