org.jetbrains.jps.plugin.impl.JpsPluginManagerImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jps-plugin-system Show documentation
Show all versions of jps-plugin-system Show documentation
A packaging of the IntelliJ Community Edition jps-plugin-system library.
This is release number 1 of trunk branch 142.
The newest version!
package org.jetbrains.jps.plugin.impl;
import com.intellij.util.containers.ContainerUtilRt;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.plugin.JpsPluginManager;
import java.util.Collection;
import java.util.ServiceLoader;
/**
* @author nik
*/
public class JpsPluginManagerImpl extends JpsPluginManager {
@NotNull
@Override
public Collection loadExtensions(@NotNull Class extensionClass) {
ServiceLoader loader = ServiceLoader.load(extensionClass, extensionClass.getClassLoader());
return ContainerUtilRt.newArrayList(loader);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy