object ScalaInstance
- Alphabetic
- By Inheritance
- ScalaInstance
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type InstanceId = (String, String, String)
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
-
def
apply(scalaOrg: String, scalaName: String, scalaVersion: String, allJars: Seq[AbsolutePath], logger: Logger): ScalaInstance
Reuses all jars to create an Scala instance if and only if all of them exist.
Reuses all jars to create an Scala instance if and only if all of them exist.
This is done mainly by performance reasons, since dependency resolution is not in the scope of what bloop is supposed to do. All resolution should be done by the user.
When this is not the case, we resolve the Scala jars from coursier. This is good because it means that if for some reason the scala jars do not exist, the user will get no matter what get the right instance. If the jars don't exist and they cannot be resolved, users will get a resolution error instead of a weird compilation error when compilation via Zinc starts.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bloopScalaInstance(logger: Logger): ScalaInstance
Returns the default scala instance that is used in bloop's classloader.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getVersion(loader: ClassLoader): String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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 resolve(scalaOrg: String, scalaName: String, scalaVersion: String, logger: Logger): ScalaInstance
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )