Platform

dotty.tools.dotc.config.Platform
abstract class Platform

The platform dependent pieces of Global.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract 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

The various ways a boxed primitive might materialize at runtime.

The various ways a boxed primitive might materialize at runtime.

Attributes

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

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

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

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 substitution that maps entries to entries

Update classpath with a substitution that maps entries to entries

Attributes

Concrete methods

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

The given class has a main method.

The given class has a main method.

Attributes