Package xsbti
Interface ScalaProvider
-
- All Known Subinterfaces:
ExtendedScalaProvider
public interface ScalaProviderProvides access to the jars and classes for a particular version of Scala.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AppProviderapp(ApplicationID id)Creates an application provider that will use 'loader()' as the parent ClassLoader for the application given by 'id'.java.io.FilecompilerJar()Deprecated.Only `jars` can be reliably provided for modularized Scala.java.io.File[]jars()Returns the scala-library.jar and scala-compiler.jar for this version of Scala.Launcherlauncher()java.io.FilelibraryJar()Deprecated.Only `jars` can be reliably provided for modularized Scala.java.lang.ClassLoaderloader()A ClassLoader that loads the classes from scala-library.jar and scala-compiler.jar.java.lang.Stringversion()The version of Scala this instance provides.
-
-
-
Method Detail
-
launcher
Launcher launcher()
-
version
java.lang.String version()
The version of Scala this instance provides.
-
loader
java.lang.ClassLoader loader()
A ClassLoader that loads the classes from scala-library.jar and scala-compiler.jar.
-
jars
java.io.File[] jars()
Returns the scala-library.jar and scala-compiler.jar for this version of Scala.
-
libraryJar
@Deprecated java.io.File libraryJar()
Deprecated.Only `jars` can be reliably provided for modularized Scala. (Since 0.13.0)
-
compilerJar
@Deprecated java.io.File compilerJar()
Deprecated.Only `jars` can be reliably provided for modularized Scala. (Since 0.13.0)
-
app
AppProvider app(ApplicationID id)
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.
-
-