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)

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

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

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