Packages

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

Linear Supertypes
xsbti.compile.ScalaInstance, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaInstance
  2. ScalaInstance
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaInstance(version: String, loader: ClassLoader, loaderCompilerOnly: ClassLoader, loaderLibraryOnly: ClassLoader, libraryJars: Array[File], compilerJars: Array[File], allJars: Array[File], explicitActual: Option[String])
  2. 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

  3. 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

  4. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val actualVersion: String

    Get version of Scala in the compiler.properties file from the loader.

    Get version of Scala in the compiler.properties file from the loader. This version may be different than the one passed in by version.

    Definition Classes
    ScalaInstance → ScalaInstance
  5. val allJars: Array[File]
    Definition Classes
    ScalaInstance → ScalaInstance
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. val compilerJars: Array[File]
    Definition Classes
    ScalaInstance → ScalaInstance
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. val explicitActual: Option[String]
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isManagedVersion: Boolean

    Check whether scalaInstance comes from a managed (i.e.

    Check whether scalaInstance comes from a managed (i.e. ivy-resolved) scala **or** if it's a free-floating ScalaInstance, in which case we need to do tricks in the classpaths because it won't be on them.

  17. val libraryJars: Array[File]
    Definition Classes
    ScalaInstance → ScalaInstance
  18. val loader: ClassLoader
    Definition Classes
    ScalaInstance → ScalaInstance
  19. val loaderCompilerOnly: ClassLoader
    Definition Classes
    ScalaInstance → ScalaInstance
  20. val loaderLibraryOnly: ClassLoader
    Definition Classes
    ScalaInstance → ScalaInstance
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def otherJars(): Array[File]
    Definition Classes
    ScalaInstance → ScalaInstance
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    ScalaInstance → AnyRef → Any
  27. val version: String
    Definition Classes
    ScalaInstance → ScalaInstance
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def compilerJar(): File
    Definition Classes
    ScalaInstance
    Annotations
    @Deprecated
    Deprecated
  2. def libraryJar(): File
    Definition Classes
    ScalaInstance
    Annotations
    @Deprecated
    Deprecated

Inherited from xsbti.compile.ScalaInstance

Inherited from AnyRef

Inherited from Any

Ungrouped