private void addProcessedPackage(String pkg) {
		if (processedPackages.add(pkg)) {
			createNamespacePackage(pkg);
			int index = pkg.lastIndexOf('.');
			if (index != -1) {
				addProcessedPackage(pkg.substring(0, index));
			}
			else {
				topLevelPackages.add(pkg);
			}
		}
	}
Adds the provided package to the set of processed packages<p/>

A namespace package will be created if necessary

@param pkg the package being processed
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubDoclet.java