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()
All jar files provided by this Scala instance.
|
java.io.File |
compilerJar()
Only `jars` can be reliably provided for modularized Scala.
|
java.io.File |
libraryJar()
Only `jars` can be reliably provided for modularized Scala.
|
java.lang.ClassLoader |
loader()
A class loader providing access to the classes and resources in the library and compiler jars.
|
java.lang.ClassLoader |
loaderLibraryOnly()
A class loader providing access to the classes and resources in the library.
|
java.io.File[] |
otherJars()
Deprecated.
Only `jars` can be reliably provided for modularized Scala (since 0.13.0).
|
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 loaderLibraryOnly()
java.io.File libraryJar()
java.io.File compilerJar()
@Deprecated java.io.File[] otherJars()
java.io.File[] allJars()
java.lang.String actualVersion()