public static List<Symbol> getSymbols(SymbolPath symbolPath, Program program,
			boolean searchWithinAllLibraries) {
		SymbolPath parentPath = symbolPath.getParent();
		if (parentPath == null) {
			return program.getSymbolTable().getGlobalSymbols(symbolPath.getName());
		}
		List<Namespace> parents =
			doGetNamespaces(parentPath.asList(), null, program, searchWithinAllLibraries);
		return searchForAllSymbolsInAnyOfTheseNamespaces(parents, symbolPath.getName(), program);
	}
Returns a list of Symbol that match the given symbolPath.

@param symbolPath the symbol path that specifies a series of namespace and symbol names.
@param program the program to search for symbols with the given path.
@param searchWithinAllLibraries if true all libraries will be searched provided first element 
of symbolPath is not a library name, else search symbolPath within global namespace only.
@return  a list of Symbol that match the given symbolPath.  An empty list is returned
if none found.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/NamespaceUtils.java