private static Map<String, PluginPackage> createPackageMap() {
		Map<String, PluginPackage> map = new HashMap<>();
		List<Class<? extends PluginPackage>> classes =
			ClassSearcher.getClasses(PluginPackage.class);
		for (Class<? extends PluginPackage> class1 : classes) {
			PluginPackage pluginPackage;
			try {
				pluginPackage = class1.newInstance();

				String name = pluginPackage.getName().toLowerCase();
				if (map.containsKey(name)) {
					Msg.error(PluginPackage.class, "PluginPackage already exist for name: " + name);
				}
				else {
					map.put(name, pluginPackage);
				}
			}
			catch (Exception e) {
				Msg.error(PluginPackage.class, "Could not instantiate " + class1.getName(), e);
			}
		}

		// make sure this is always there (in case it is not discovered)
		map.put(MiscellaneousPluginPackage.NAME.toLowerCase(), new MiscellaneousPluginPackage());

		return map;
	}
Returns the existing plugin package with the given name.  If no package exists, then the
{@link MiscellaneousPluginPackage} will be returned.
@param packageName the package name
@return the package
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/util/PluginPackage.java