Package xsbti
Interface ScalaProvider
- All Known Subinterfaces:
ExtendedScalaProvider
public interface ScalaProvider
Provides access to the jars and classes for a particular version of Scala.
-
Method Summary
Modifier and TypeMethodDescriptionapp
(ApplicationID id) Creates an application provider that will use 'loader()' as the parent ClassLoader for the application given by 'id'.Deprecated.Only `jars` can be reliably provided for modularized Scala.File[]
jars()
Returns the scala-library.jar and scala-compiler.jar for this version of Scala.launcher()
Deprecated.Only `jars` can be reliably provided for modularized Scala.loader()
A ClassLoader that loads the classes from scala-library.jar and scala-compiler.jar.version()
The version of Scala this instance provides.
-
Method Details
-
launcher
Launcher launcher() -
version
String version()The version of Scala this instance provides. -
loader
ClassLoader loader()A ClassLoader that loads the classes from scala-library.jar and scala-compiler.jar. -
jars
File[] jars()Returns the scala-library.jar and scala-compiler.jar for this version of Scala. -
libraryJar
Deprecated.Only `jars` can be reliably provided for modularized Scala. (Since 0.13.0) -
compilerJar
Deprecated.Only `jars` can be reliably provided for modularized Scala. (Since 0.13.0) -
app
Creates an application provider that will use 'loader()' as the parent ClassLoader for the application given by 'id'. This method will retrieve the application if it has not already been retrieved.
-