ClassSymbol

final
Companion
object
class Symbol
class Object
trait Matchable
class Any

Type members

Inherited types

Inherited from
TypeSymbol

Value members

Concrete methods

final
def companionClass(using Context): Option[ClassSymbol]

Get the companion class of this class, if it exists:

Get the companion class of this class, if it exists:

  • for class C => object class C[$]
  • for object class C[$] => class C
final
def declarations(using Context): List[Symbol]
final
def derivesFrom(base: Symbol)(using Context): Boolean
final
def getDecl(name: Name)(using Context): Option[Symbol]
final
def getDecls(name: Name)(using Context): List[Symbol]
final
def moduleValue(using Context): Option[TermSymbol]

Get the module value of this module class definition, if it exists:

Get the module value of this module class definition, if it exists:

  • for object class C[$] => object val C
final
def parents(using Context): List[Type]
final

Inherited methods

final
Inherited from
Symbol
Inherited from
Symbol
Inherited from
Symbol
final
Inherited from
Symbol
final
Inherited from
Symbol
Inherited from
Symbol
final
def exists: Boolean
Inherited from
Symbol
final
Inherited from
Symbol
Inherited from
Symbol
final
def is(flag: Flag): Boolean
Inherited from
Symbol
final
def isAllOf(testFlags: FlagSet): Boolean
Inherited from
Symbol
final
def isAnyOf(testFlags: FlagSet): Boolean
Inherited from
Symbol
final
def isClass: Boolean
Inherited from
Symbol
final
def isDeclaringSymbol: Boolean
Inherited from
Symbol
final
def isOpaqueTypeAlias(using Context): Boolean
Inherited from
TypeSymbol
final
def isPackage: Boolean
Inherited from
Symbol
final
def isRoot: Boolean
Inherited from
Symbol
final
def isTerm: Boolean
Inherited from
Symbol
final
def isType: Boolean
Inherited from
Symbol
final
def isTypeAlias(using Context): Boolean
Inherited from
TypeSymbol
def toDebugString: String
Inherited from
Symbol
override
def toString: String
Definition Classes
Symbol -> Any
Inherited from
Symbol
final
def tree(using Context): Option[DefTree]
Inherited from
Symbol