sbt

ScalaInstance

final class ScalaInstance extends xsbti.compile.ScalaInstance

Represents the source for Scala classes for a given version. The reason both a ClassLoader and the jars are required is that the compiler requires the location of the library jar on the (boot)classpath and the loader is used for the compiler itself. The 'version' field is the version used to obtain the Scala classes. This is typically the version for the maven repository. The 'actualVersion' field should be used to uniquely identify the compiler. It is obtained from the compiler.properties file.

This should be constructed via the ScalaInstance.apply methods. The primary constructor is deprecated.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaInstance
  2. ScalaInstance
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaInstance(version: String, loader: ClassLoader, libraryJar: File, compilerJar: File, extraJars: Seq[File], explicitActual: Option[String])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. lazy val actualVersion: String

    Gets the version of Scala in the compiler.

    Gets the version of Scala in the compiler.properties file from the loader. This version may be different than that given by 'version'

    Definition Classes
    ScalaInstanceScalaInstance
  7. def allJars(): Array[File]

    Definition Classes
    ScalaInstanceScalaInstance
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. val explicitActual: Option[String]

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def isManagedVersion: Boolean

    This tells us if the scalaInstance is from a managed (i.

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

  18. def jarStrings: String

  19. def jars: List[File]

  20. val libraryJar: File

    Definition Classes
    ScalaInstanceScalaInstance
  21. val loader: ClassLoader

    Definition Classes
    ScalaInstanceScalaInstance
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  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
    ScalaInstanceScalaInstance
  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( ... )

Deprecated Value Members

  1. val compilerJar: File

    Definition Classes
    ScalaInstanceScalaInstance
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Only allJars and jars can be reliably provided for modularized Scala.

  2. val extraJars: Seq[File]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Only allJars and jars can be reliably provided for modularized Scala.

  3. def otherJars(): Array[File]

    Definition Classes
    ScalaInstanceScalaInstance
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Only allJars and jars can be reliably provided for modularized Scala.

Inherited from AnyRef

Inherited from Any

Ungrouped