BCInnerClassGen

dotty.tools.backend.jvm.BCodeHelpers.BCInnerClassGen

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

final def asmMethodType(msym: Symbol): bTypes.MethodBType
final def getClassBType(sym: Symbol): bTypes.ClassBType

The ClassBType for a class symbol.

The ClassBType for a class symbol.

The class symbol scala.Nothing is mapped to the class scala.runtime.Nothing$. Similarly, scala.Null is mapped to scala.runtime.Null$. This is because there exist no class files for the Nothing / Null. If used for example as a parameter type, we use the runtime classes in the classfile method signature.

Note that the referenced class symbol may be an implementation class. For example when compiling a mixed-in method that forwards to the static method in the implementation class, the class descriptor of the receiver (the implementation class) is obtained by creating the ClassBType.

Attributes

final def internalName(sym: Symbol): String

The class internal name for a given class symbol.

The class internal name for a given class symbol.

Attributes

final def symDescriptor(sym: Symbol): String

The jvm descriptor for a symbol.

The jvm descriptor for a symbol.

Attributes

final def toTypeKind(tp: Type): bTypes.BType
final def typeDescriptor(t: Type): String

The jvm descriptor of a type.

The jvm descriptor of a type.

Attributes

Concrete fields

final val emitLines: Boolean
final val emitSource: Boolean
final val emitVars: Boolean