Platform

abstract class Platform

The platform dependent pieces of Global.

class Object
trait Matchable
class Any

Value members

Abstract methods

The compiler classpath.

The compiler classpath.

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.

The various ways a boxed primitive might materialize at runtime.

The various ways a boxed primitive might materialize at runtime.

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?

Create a new class loader to load class file bin

Create a new class loader to load class file bin

The root symbol loader.

The root symbol loader.

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

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

Update classpath with a substitution that maps entries to entries

Update classpath with a substitution that maps entries to entries

Concrete methods

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

The given class has a main method.

The given class has a main method.