scala.build.internal

Members list

Concise view

Type members

Classlikes

object AmmUtil

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
AmmUtil.type
case object CustomCodeWrapper extends CodeWrapper

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class CodeWrapper
class Object
trait Matchable
class Any
Self type

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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JavaParserProxyBinary(archiveCache: ArchiveCache[Task], javaClassNameVersionOpt: Option[String], logger: Logger, javaCommand: () => String) extends JavaParserProxy

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

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
object MainClass

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Runner

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Runner.type