NestedInfo

dotty.tools.backend.jvm.BTypes.NestedInfo
case class NestedInfo(enclosingClass: ClassBType, outerName: Option[String], innerName: Option[String], isStaticNestedClass: Boolean)

Information required to add a class to an InnerClass table. The spec summary above explains what information is required for the InnerClass entry.

Attributes

enclosingClass

The enclosing class, if it is also nested. When adding a class to the InnerClass table, enclosing nested classes are also added.

innerName

The innerName field, may be None.

isStaticNestedClass

True if this is a static nested class (not inner class) () () Note that the STATIC flag in ClassInfo.flags, obtained through javaFlags(classSym), is not correct for the InnerClass entry, see javaFlags. The static flag in the InnerClass describes a source-level propety: if the class is in a static context (does not have an outer pointer). This is checked when building the NestedInfo.

outerName

The outerName field in the InnerClass entry, may be None.

Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product