public static List<Namespace> getMatchingNamespaces(String childName, List<Namespace> parents,
			Program program) throws IllegalArgumentException {
		validate(program, parents);
		List<Namespace> list = new ArrayList<>();
		for (Namespace parent : parents) {
			list.addAll(getNamespacesByName(program, parent, childName));
		}

		return list;
	}
Returns a list all namespaces that have the given name in any of the given namespaces

@param childName the name of the namespaces to retrieve
@param parents a list of all namespaces to search for child namespaces with the given name
@param program the program to search
@return a list all namespaces that have the given name in any of the given namespaces.
Empty list if none found.
@throws IllegalArgumentException if one or more invalid parent namespaces were specified
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/NamespaceUtils.java