WellKnownNames

dotty.tools.sjs.ir.WellKnownNames

Names for "well-known" classes and methods.

Well-known classes and methods have a dedicated meaning in the semantics of the IR. For example, java.lang.Class is well-known because it is the type of ClassOf nodes.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

The exception thrown by a division by 0.

The exception thrown by a division by 0.

Attributes

The exception thrown by an ArraySelect that is out of bounds.

The exception thrown by an ArraySelect that is out of bounds.

Attributes

The exception thrown by an Assign(ArraySelect, ...) where the value cannot be stored.

The exception thrown by an Assign(ArraySelect, ...) where the value cannot be stored.

Attributes

Map from hijacked classes to their respective primitive types.

Map from hijacked classes to their respective primitive types.

Attributes

The exception thrown by an AsInstanceOf that fails.

The exception thrown by an AsInstanceOf that fails.

Attributes

The class of things returned by ClassOf and GetClass.

The class of things returned by ClassOf and GetClass.

Attributes

Name of the class initializer method.

Name of the class initializer method.

Attributes

java.lang.Cloneable, which is an ancestor of array classes and is used by Clone.

java.lang.Cloneable, which is an ancestor of array classes and is used by Clone.

Attributes

final val DefaultModuleID: String

ModuleID of the default module

ModuleID of the default module

Attributes

The set of all hijacked classes.

The set of all hijacked classes.

Attributes

The exception thrown by a Class_newArray if the first argument is classOf[Unit].

The exception thrown by a Class_newArray if the first argument is classOf[Unit].

Attributes

The exception thrown by a NewArray(...) with a negative size.

The exception thrown by a NewArray(...) with a negative size.

Attributes

Name of a constructor without argument.

Name of a constructor without argument.

This is notably the signature of constructors of module classes.

Attributes

The exception thrown by a variety of nodes for null arguments.

The exception thrown by a variety of nodes for null arguments.

  • Apply and ApplyStatically for the receiver,
  • Select for the qualifier,
  • ArrayLength and ArraySelect for the array,
  • GetClass, Clone and UnwrapFromException for their respective only arguments.

Attributes

java.lang.Object, the root of the class hierarchy.

java.lang.Object, the root of the class hierarchy.

Attributes

ClassRef(ObjectClass).

ClassRef(ObjectClass).

Attributes

Map from primitive types to their respective boxed (hijacked) classes.

Map from primitive types to their respective boxed (hijacked) classes.

Attributes

java.io.Serializable, which is an ancestor of array classes.

java.io.Serializable, which is an ancestor of array classes.

Attributes

Name of the static initializer method.

Name of the static initializer method.

Attributes

The exception thrown by a BinaryOp.String_charAt that is out of bounds.

The exception thrown by a BinaryOp.String_charAt that is out of bounds.

Attributes

The superclass of all throwables.

The superclass of all throwables.

This is the result type of WrapAsThrowable nodes, as well as the input type of UnwrapFromThrowable.

Attributes