private Namespace getNamespace(SymbolPath symbolPath) {
		String parentNs = symbolPath.getParentPath();
		if (parentNs == null) {
			return null;
		}

		List<Namespace> namespaces = NamespaceUtils.getNamespaceByPath(program, null, parentNs);

		if (namespaces.isEmpty()) {
			SymbolTable symbolTable = program.getSymbolTable();
			for (String libraryName : program.getExternalManager().getExternalLibraryNames()) {
				Symbol librarySymbol = symbolTable.getLibrarySymbol(libraryName);
				namespaces = NamespaceUtils.getNamespaceByPath(program,
					(Library) librarySymbol.getObject(), parentNs);
				if (!namespaces.isEmpty()) {
					break; // use first library containing namespace
				}
			}
		}

		if (namespaces.size() > 1) {
			// assume local symbol was specified
			Msg.showError(this, getComponent(), "Invalid Namespace",
				"Invalid namespace specified, expected Class or Namespace");
		}

		return namespaces.isEmpty() ? null : namespaces.get(0);
	}
Get the code/function symbol which corresponds to the specified 
text entry which may optionally include a namespace
@param text symbol name
@return symbol or null if multiple symbols found
@throws NotFoundException if no matching symbols were found
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/ThunkReferenceAddressDialog.java