Automatically construct a Mirror in a properly setup build integration.
Automatically construct a Mirror in a properly setup build integration.
Recommended constructor if using a build integration like sbt-scalahost.
RuntimeException
if system properties is missing necessary values, for
example when the build integration is improperly setup.
Construct a Mirror from a persisted semantic database.
Construct a Mirror from a persisted semantic database.
java.io.File.pathSeparator separated list of jar files
or directories containing classfiles and semanticdb
files.
The semanticdb
files are emitted by the scalahost
compiler plugin and are necessary for the semantic API to
function. The classfiles + jar files are necessary for
runtime compilation of quasiquotes when extracting
symbols (that is, q"scala.Predef".symbol
).
Example:
"foo/target/classes:foo.jar:/home/.ivy2/cache/bar.jar".
java.io.File.pathSeparator separated list of Scala source files OR directories containing Scala source files. For example Example: "src/main/scala:build/Bar.scala".