BTypesFromClassfile

dotty.tools.backend.jvm.opt.BTypesFromClassfile
class BTypesFromClassfile(val byteCodeRepository: BCodeRepository, ts: CoreBTypes)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Obtain the BType for a type descriptor or internal name. For class descriptors, the ClassBType is constructed by parsing the corresponding classfile.

Obtain the BType for a type descriptor or internal name. For class descriptors, the ClassBType is constructed by parsing the corresponding classfile.

Some JVM operations use either a full descriptor or only an internal name. Example: ANEWARRAY java/lang/String // a new array of strings (internal name for the String class) ANEWARRAY [Ljava/lang/String; // a new array of array of string (full descriptor for the String class)

This method supports both descriptors and internal names.

Attributes

Construct the BTypes.ClassBType for a parsed classfile.

Construct the BTypes.ClassBType for a parsed classfile.

Attributes

Parse the classfile for internalName and construct the BTypes.ClassBType. If the classfile cannot be found in the byteCodeRepository, the info of the resulting ClassBType is undefined.

Parse the classfile for internalName and construct the BTypes.ClassBType. If the classfile cannot be found in the byteCodeRepository, the info of the resulting ClassBType is undefined.

Attributes

Concrete fields