private static List<Symbol> searchForAllSymbolsInAnyOfTheseNamespaces(List<Namespace> parents,
			String symbolName, Program program) {

		List<Symbol> list = new ArrayList<>();
		for (Namespace parent : parents) {
			list.addAll(program.getSymbolTable().getSymbols(symbolName, parent));
		}

		return list;

	}
Returns a list all symbols that have the given name in any of the given
parent namespaces.

@param parents a list of all namespaces to search for symbols with the given name.
@param symbolName the name of the symbols to retrieve.
@param program the program to search.
@return a list all symbols that have the given name in any of the given namespaces.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/NamespaceUtils.java