package org.gradle.api.internal.plugins;
import org.gradle.api.Plugin;
<BUG>import org.gradle.api.plugins.PluginNotAvailableException;
</BUG>
import org.gradle.api.plugins.PluginInstantiationException;
<BUG>import org.gradle.api.plugins.PluginCollection;</BUG>
import org.gradle.api.plugins.PluginContainer;
public interface PluginRegistry extends PluginContainer {
<BUG>Plugin loadPlugin(String pluginName) throws PluginNotAvailableException, PluginInstantiationException;
</BUG>
<T extends Plugin> T loadPlugin(Class<T> pluginClass) throws PluginInstantiationException;

package org.gradle.api.internal.plugins;
import org.gradle.api.Plugin;
import org.gradle.api.plugins.UnknownPluginException;
import org.gradle.api.plugins.PluginInstantiationException;
import org.gradle.api.plugins.PluginContainer;
public interface PluginRegistry extends PluginContainer {
Plugin loadPlugin(String pluginName) throws UnknownPluginException, PluginInstantiationException;
<T extends Plugin> T loadPlugin(Class<T> pluginClass) throws PluginInstantiationException;
