final class ScalaInstance extends xsbti.compile.ScalaInstance
A Scala instance encapsulates all the information that is bound to a concrete
Scala version, like the java.lang.ClassLoader or all the JARs
required for Scala compilation: library jar, compiler jar and others.
Both a ClassLoader and the jars are required because the compiler's
boot classpath requires the location of the library and compiler jar
on the classpath to compile any Scala program and macros.
- See also
xsbti.compile.ScalaInstance
- Alphabetic
- By Inheritance
- ScalaInstance
- ScalaInstance
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ScalaInstance(version: String, loader: ClassLoader, loaderCompilerOnly: ClassLoader, loaderLibraryOnly: ClassLoader, libraryJars: Array[File], compilerJars: Array[File], allJars: Array[File], explicitActual: Option[String])
- new ScalaInstance(version: String, loader: ClassLoader, libraryJar: File, compilerJar: File, allJars: Array[File], explicitActual: Option[String])
- Annotations
- @deprecated
- Deprecated
(Since version 1.1.2) Use constructor with loaderLibraryOnly and compilerLibraryOnly
- new ScalaInstance(version: String, loader: ClassLoader, loaderLibraryOnly: ClassLoader, libraryJars: Array[File], compilerJar: File, allJars: Array[File], explicitActual: Option[String])
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0) Use constructor with loaderCompilerOnly
- new ScalaInstance(version: String, loader: ClassLoader, loaderLibraryOnly: ClassLoader, libraryJar: File, compilerJar: File, allJars: Array[File], explicitActual: Option[String])
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0) Use constructor with loaderCompilerOnly
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val actualVersion: String
Get version of Scala in the
compiler.propertiesfile from the loader.Get version of Scala in the
compiler.propertiesfile from the loader. This version may be different than the one passed in byversion.- Definition Classes
- ScalaInstance → ScalaInstance
- val allJars: Array[File]
- Definition Classes
- ScalaInstance → ScalaInstance
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val compilerJars: Array[File]
- Definition Classes
- ScalaInstance → ScalaInstance
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val explicitActual: Option[String]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isManagedVersion: Boolean
Check whether
scalaInstancecomes from a managed (i.e.Check whether
scalaInstancecomes from a managed (i.e. ivy-resolved) scala **or** if it's a free-floatingScalaInstance, in which case we need to do tricks in the classpaths because it won't be on them. - val libraryJars: Array[File]
- Definition Classes
- ScalaInstance → ScalaInstance
- val loader: ClassLoader
- Definition Classes
- ScalaInstance → ScalaInstance
- val loaderCompilerOnly: ClassLoader
- Definition Classes
- ScalaInstance → ScalaInstance
- val loaderLibraryOnly: ClassLoader
- Definition Classes
- ScalaInstance → ScalaInstance
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def otherJars(): Array[File]
- Definition Classes
- ScalaInstance → ScalaInstance
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ScalaInstance → AnyRef → Any
- val version: String
- Definition Classes
- ScalaInstance → ScalaInstance
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()