Dotty Documentation

0.2.0-bin-SNAPSHOT

class JavaPlatform
extends Platform

[-] Constructors

JavaPlatform ( )

[-] Members

[+] private var currentClassPath : Option [ ClassPath ]
[+] def classPath ( implicit ctx: Context ) : ClassPath

The compiler classpath.

[+] private def currentClassPath_= ( x$1: Option [ ClassPath ] ) : Unit
[+] def hasJavaMainMethod ( sym: Symbol ) ( implicit ctx: Context ) : Boolean
[+] def isJavaMainMethod ( sym: SymDenotation ) ( implicit ctx: Context ) : Boolean
[+] def isMaybeBoxed ( sym: ClassSymbol ) ( implicit ctx: Context ) : Boolean

We could get away with excluding BoxedBooleanClass for the purpose of equality testing since it need not compare equal to anything but other booleans, but it should be present in case this is put to other uses.

[+] def isSam ( cls: ClassSymbol ) ( implicit ctx: Context ) : Boolean

Is the SAMType cls also a SAM under the rules of the JVM?

[+] def newClassLoader ( bin: AbstractFile ) ( implicit ctx: Context ) : SymbolLoader

Create a new class loader to load class file bin

[+] def rootLoader ( root: TermSymbol ) ( implicit ctx: Context ) : SymbolLoader

The root symbol loader.

[+] def updateClassPath ( subst: Map [ ClassPath, ClassPath ] ) : Unit

Update classpath with a substituted subentry