scala.build.internal

Type members

Classlikes

object AmmUtil
case object CustomCodeWrapper extends CodeWrapper

Helper to get class names from Java sources

Helper to get class names from Java sources

See JavaParserProxyJvm for the implementation that runs things in memory using java-class-name from the class path, and JavaParserProxyBinary for the implementation that downloads and runs a java-class-name binary.

class JavaParserProxyBinary(archiveCache: ArchiveCache[Task], javaClassNameVersionOpt: Option[String], logger: Logger) extends JavaParserProxy

Downloads and runs java-class-name as an external binary.

Downloads and runs java-class-name as an external binary.

A JavaParserProxy that relies on java-class-name in the class path, rather than downloading it and running it as an external binary.

A JavaParserProxy that relies on java-class-name in the class path, rather than downloading it and running it as an external binary.

Should be used from Scala CLI when it's run on the JVM.

On the JVM, provides JavaParserProxyJvm as JavaParserProxy instance.

On the JVM, provides JavaParserProxyJvm as JavaParserProxy instance.

From native launchers, JavaParserProxyMakerSubst takes over this, and gives JavaParserProxyBinary instead.

That way, no reference to JavaParserProxyJvm remains in the native call graph, and that class and those it pulls (the java-class-name classes, which includes parts of the dotty parser) are not embedded the native launcher.

Note that this is a class and not an object, to make it easier to write substitutions for that in Java.

object MainClass
object Runner