ClassBType

dotty.tools.backend.jvm.ClassBType
See theClassBType companion class
object ClassBType

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ClassBType.type

Members list

Type members

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

final def apply[T](internalName: InternalName, ts: CoreBTypes, cache: ConcurrentHashMap[InternalName, ClassBType])(init: ClassBType => Either[T, ClassInfo]): Either[T, ClassBType]

Retrieve the ClassBType for the class with the given internal name, creating the entry if it doesn't already exist in the cache

Retrieve the ClassBType for the class with the given internal name, creating the entry if it doesn't already exist in the cache

Type parameters

T

The type of the error result.

Value parameters

cache

The cache to use. If you're wondering what to pass here, you're in the wrong place and should not be directly calling this.

init

Function to initialize the info of this BType. During execution of this function, code may reenter into apply(internalName, ...) and retrieve the initializing ClassBType.

internalName

The name of the class

ts

The core types associated with the compilation

Attributes

Returns

The ClassBType