object Plugin
- Source
- Plugin.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Plugin
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type AnyClass = Class[_]
Value Members
- val PluginXML: String
- def instantiate(clazz: AnyClass, global: Global): Plugin
Instantiate a plugin class, given the class and the compiler it is to be used in.
- def load(classname: String, loader: ClassLoader): Try[AnyClass]
Use a class loader to load the plugin class.
- def loadAllFrom(paths: List[List[Path]], dirs: List[Path], ignoring: List[String], findPluginClassloader: (Seq[Path]) => ClassLoader): List[Try[AnyClass]]
Load all plugins specified by the arguments.
Load all plugins specified by the arguments. Each location of
paths
must be a valid plugin archive or exploded archive. Each ofpaths
must define one plugin. Each ofdirs
may be a directory containing arbitrary plugin archives. Skips all plugins named inignoring
. A classloader is created to load each plugin.
The Scala compiler and reflection APIs.