public interface ScalaInstance
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
actualVersion()
The unique identifier for this Scala instance, usually obtained
(but not necessarily) from `compiler.properties` files.
|
java.io.File[] |
allJars()
Classpath entries for the `loader`.
|
default java.io.File |
compilerJar()
Deprecated.
Use `compilerJars` instead (since 1.5.0).
|
java.io.File[] |
compilerJars()
Classpath entry that stores the Scala compiler classes.
|
default java.io.File |
libraryJar()
Deprecated.
Use `libraryJars` instead (since 1.3.0).
|
java.io.File[] |
libraryJars()
Classpath entries that stores the Scala library classes.
|
java.lang.ClassLoader |
loader()
A class loader providing access to the classes and resources in all the jars of this Scala instance.
|
java.lang.ClassLoader |
loaderCompilerOnly()
A class loader providing access to the classes and resources in the compiler jar of this Scala instance.
|
java.lang.ClassLoader |
loaderLibraryOnly()
A class loader providing access to the classes and resources in the library jars of this Scala instance.
|
java.io.File[] |
otherJars()
All the jars except `libraryJars` and `compilerJar`.
|
java.lang.String |
version()
Scala version for this
ScalaInstance. |
java.lang.String version()
ScalaInstance.
It need not to be unique and can be dynamic (e.g. 2.10.0-SNAPSHOT).java.lang.ClassLoader loader()
java.lang.ClassLoader loaderCompilerOnly()
java.lang.ClassLoader loaderLibraryOnly()
java.io.File[] libraryJars()
@Deprecated default java.io.File libraryJar()
java.io.File[] compilerJars()
@Deprecated default java.io.File compilerJar()
java.io.File[] otherJars()
java.io.File[] allJars()
java.lang.String actualVersion()