symExtensions

dotty.tools.backend.jvm.DottyBackendInterface$.symExtensions$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Extensions

Extensions

extension (sym: Symbol)
def isInterface(using Context): Boolean
def isStaticConstructor(using Context): Boolean
def isStaticMember(using Context): Boolean
def isStaticModuleClass(using Context): Boolean

True for module classes of modules that are top-level or owned only by objects. Module classes for such objects will get a MODULE$ flag and a corresponding static initializer.

True for module classes of modules that are top-level or owned only by objects. Module classes for such objects will get a MODULE$ flag and a corresponding static initializer.

Attributes

def isStaticModuleField(using Context): Boolean

Fields of static modules will be static at backend

Fields of static modules will be static at backend

Note that lazy val encoding assumes bitmap fields are non-static. See also genPlainClass in BCodeSkelBuilder.scala.

TODO: remove the special handing of LazyBitMapName once we swtich to the new lazy val encoding: https://github.com/lampepfl/dotty/issues/7140

Attributes

def isTopLevelModuleClass(using Context): Boolean

True for module classes of package level objects. The backend will generate a mirror class for such objects.

True for module classes of package level objects. The backend will generate a mirror class for such objects.

Attributes

def javaBinaryName(using Context): String
def javaClassName(using Context): String
def javaSimpleName(using Context): String