public PluginId getPluginId() {
return pluginId;
}
public Class<?> resolve() {
ClassPath classPath = classPathFactory.create();
ClassLoaderScope loaderScope = parent.createChild();
loaderScope.local(classPath);
loaderScope.lock();
PluginRegistry pluginRegistry = new DefaultPluginRegistry(pluginInspector, loaderScope.getLocalClassLoader());
PotentialPluginWithId lookup = pluginRegistry.lookup(pluginId.toString());