private static Set<Class<?>> findPluginsLoadedFromExtension(ExtensionDetails extension,
			Set<PluginPath> pluginPaths) {

		if (!extension.isInstalled()) {
			return Collections.emptySet();
		}

		// Find any jar files in the directory provided
		Set<URL> jarPaths = extension.getLibraries();

		// Now get all Plugin.class file paths and see if any of them were loaded from one of the 
		// extension the given extension directory
		Set<Class<?>> result = new HashSet<>();
		for (PluginPath pluginPath : pluginPaths) {
			if (pluginPath.isFrom(extension.getInstallDir())) {
				result.add(pluginPath.getPluginClass());
				continue;
			}

			for (URL jarUrl : jarPaths) {
				if (pluginPath.isFrom(jarUrl)) {
					result.add(pluginPath.getPluginClass());
				}
			}
		}
		return result;
	}
Finds all plugin classes loaded from a particular extension folder.
<p>
This uses the {@link ClassSearcher} to find all <code>Plugin.class</code> objects on the
classpath. For each class, the original resource file is compared against the
given extension folder and the jar files for that extension. 

@param extension the extension from which to find plugins
@param pluginPaths all loaded plugin paths
@return list of {@link Plugin} classes, or empty list if none found
Ghidra/Framework/Project/src/main/java/ghidra/framework/project/tool/ExtensionManager.java