JavaPlatform

dotty.tools.dotc.config.JavaPlatform
class JavaPlatform extends Platform

Attributes

Graph
Supertypes
class Platform
class Object
trait Matchable
class Any
Known subtypes
class SJSPlatform

Members list

Value members

Concrete methods

The compiler classpath.

The compiler classpath.

Attributes

def isMainMethod(sym: Symbol)(using Context): Boolean

The given symbol is a method with the right name and signature to be a runnable program.

The given symbol is a method with the right name and signature to be a runnable program.

Attributes

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.

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.

Attributes

def isSam(cls: ClassSymbol)(using Context): Boolean

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

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

Attributes

Create a new class loader to load class file bin

Create a new class loader to load class file bin

Attributes

The root symbol loader.

The root symbol loader.

Attributes

Is the given class symbol eligible for Java serialization-specific methods?

Is the given class symbol eligible for Java serialization-specific methods?

Attributes

Update classpath with a substituted subentry

Update classpath with a substituted subentry

Attributes

Inherited methods

final def hasMainMethod(sym: Symbol)(using Context): Boolean

The given class has a main method.

The given class has a main method.

Attributes

Inherited from:
Platform