scala.tools.nsc.symtab.Symbols

ModuleClassSymbol

class ModuleClassSymbol extends ClassSymbol

A class for module class symbols Note: Not all module classes are of this type; when unpickled, we get plain class symbols!

Source
Symbols.scala
Linear Supertypes
ClassSymbol, TypeSymbol, Symbol, AbsSymbol, HasFlags, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ModuleClassSymbol
  2. ClassSymbol
  3. TypeSymbol
  4. Symbol
  5. AbsSymbol
  6. HasFlags
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ModuleClassSymbol (module: TermSymbol)

  2. new ModuleClassSymbol (owner: Symbol, pos: Position, name: TypeName)

Type Members

  1. type AccessBoundaryType = Symbol

    Definition Classes
    AbsSymbol → HasFlags
  2. type AnnotationType = AnnotationInfo

    Definition Classes
    AbsSymbol → HasFlags
  3. type FlagsType = Long

    Definition Classes
    AbsSymbol → HasFlags

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def accessBoundary (base: Symbol): Symbol

    The class or term up to which this symbol is accessible, or RootClass if it is public.

    The class or term up to which this symbol is accessible, or RootClass if it is public.

    Definition Classes
    Symbol
  7. def accessed (ownerTp: Type): Symbol

    The symbol accessed by this accessor function, but with given owner type

    The symbol accessed by this accessor function, but with given owner type

    Attributes
    final
    Definition Classes
    Symbol
  8. def accessed : Symbol

    The symbol accessed by this accessor (getter or setter) function.

    The symbol accessed by this accessor (getter or setter) function.

    Attributes
    final
    Definition Classes
    Symbol
  9. def accurateKindString : String

    Accurate string representation of symbols' kind, suitable for developers.

    Accurate string representation of symbols' kind, suitable for developers.

    Attributes
    final
    Definition Classes
    Symbol
  10. def addAnnotation (annot: AnnotationInfo): Unit

    Definition Classes
    Symbol → AbsSymbol
  11. def addChild (sym: Symbol): Unit

    Definition Classes
    ClassSymbol → AbsSymbol
  12. def alias : Symbol

    For a paramaccessor: a superclass paramaccessor for which this symbol is an alias, NoSymbol for all others

    For a paramaccessor: a superclass paramaccessor for which this symbol is an alias, NoSymbol for all others

    Definition Classes
    Symbol
  13. def allOverriddenSymbols : List[Symbol]

    Returns all symbols overriden by this symbol

    Returns all symbols overriden by this symbol

    Attributes
    final
    Definition Classes
    Symbol
  14. def alternatives : List[Symbol]

    Definition Classes
    Symbol
  15. def ancestors : List[Symbol]

    All directly or indirectly inherited classes.

    All directly or indirectly inherited classes.

    Definition Classes
    Symbol
  16. def annotations : List[AnnotationInfo]

    After the typer phase (before, look at the definition's Modifiers), contains the annotations attached to member a definition (class, method, type, field).

    After the typer phase (before, look at the definition's Modifiers), contains the annotations attached to member a definition (class, method, type, field).

    Definition Classes
    Symbol → HasFlags
  17. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  18. def caseFieldAccessors : List[Symbol]

    Return every accessor of a primary constructor parameter in this case class.

    Return every accessor of a primary constructor parameter in this case class. The scope declarations may be out of order because fields with less than private access are first given a regular getter, then a new renamed getter which comes later in the declaration list. For this reason we have to pinpoint the right accessors by starting with the original fields (which will be in the right order) and looking for getters with applicable names. The getters may have the standard name "foo" or may have been renamed to "foo$\d+" in SyntheticMethods. See ticket #1373.

    Attributes
    final
    Definition Classes
    Symbol
  19. def caseModule : Symbol

    The case module corresponding to this case class

    The case module corresponding to this case class

    Attributes
    final
    Definition Classes
    Symbol
  20. def children : List[Symbol]

    If this is a sealed class, its known direct subclasses.

    If this is a sealed class, its known direct subclasses. Otherwise Set.empty

    Definition Classes
    ClassSymbolSymbol
  21. def classBound : Type

    The least proper supertype of a class; includes all parent types and refinement where needed.

    The least proper supertype of a class; includes all parent types and refinement where needed. You need to compute that in a situation like this: { class C extends P { ... } new C }

    Definition Classes
    Symbol
  22. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def cloneSymbol (owner: Symbol): Symbol

    A clone of this symbol, but with given owner

    A clone of this symbol, but with given owner

    Attributes
    final
    Definition Classes
    Symbol
  24. def cloneSymbol : Symbol

    A clone of this symbol

    A clone of this symbol

    Attributes
    final
    Definition Classes
    Symbol
  25. def cloneSymbolImpl (owner: Symbol): Symbol

    Internal method to clone a symbol's implementation without flags or type

    Internal method to clone a symbol's implementation without flags or type

    Definition Classes
    ClassSymbolTypeSymbolSymbol
  26. def companionClass : Symbol

    For a module or case factory: the class with the same name in the same package.

    For a module or case factory: the class with the same name in the same package. For all others: NoSymbol Note: does not work for classes owned by methods, see Namers.companionClassOf

    object Foo . companionClass --> class Foo

    Attributes
    final
    Definition Classes
    Symbol
  27. def companionModule : Symbol

    For a class: the module or case class factory with the same name in the same package.

    For a class: the module or case class factory with the same name in the same package. For all others: NoSymbol Note: does not work for modules owned by methods, see Namers.companionModuleOf

    class Foo . companionModule --> object Foo

    Attributes
    final
    Definition Classes
    Symbol
  28. def companionSymbol : Symbol

    For a module: its linked class For a plain class: its linked module or case factory.

    For a module: its linked class For a plain class: its linked module or case factory. Note: does not work for modules owned by methods, see Namers.companionSymbolOf

    class Foo <-- companionSymbol --> object Foo

    Attributes
    final
    Definition Classes
    Symbol
  29. def constrParamAccessors : List[Symbol]

    Attributes
    final
    Definition Classes
    Symbol
  30. def cookJavaRawInfo (): Unit

    Modify term symbol's type so that a raw type C is converted to an existential C[_]

    Modify term symbol's type so that a raw type C is converted to an existential C[_]

    This is done in checkAccessible and overriding checks in refchecks We can't do this on class loading because it would result in infinite cycles.

    Attributes
    final
    Definition Classes
    Symbol
  31. def deSkolemize : Symbol

    If this symbol is a type parameter skolem (not an existential skolem!) its corresponding type parameter, otherwise this

    If this symbol is a type parameter skolem (not an existential skolem!) its corresponding type parameter, otherwise this

    Definition Classes
    Symbol
  32. def decodedName : String

    Definition Classes
    AbsSymbol
  33. def defString : String

    String representation of symbol's definition

    String representation of symbol's definition

    Definition Classes
    Symbol
  34. def defaultFlagMask : Long

    Definition Classes
    Symbol
  35. def defaultFlagString : String

    Definition Classes
    Symbol
  36. def definedInPackage : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  37. def deprecationMessage : Option[String]

    Definition Classes
    Symbol
  38. def deprecationVersion : Option[String]

    Definition Classes
    Symbol
  39. def doCookJavaRawInfo (): Unit

    * example: public class Test3<T> {} public class Test1<T extends Test3> {} info for T in Test1 should be >: Nothing <: Test3[_]

    * example: public class Test3<T> {} public class Test1<T extends Test3> {} info for T in Test1 should be >: Nothing <: Test3[_]

    Attributes
    protected
    Definition Classes
    TypeSymbolSymbol
  40. def elisionLevel : Option[Int]

    Definition Classes
    Symbol
  41. def enclClass : Symbol

    Definition Classes
    AbsSymbol
  42. def enclClassChain : List[Symbol]

    Definition Classes
    Symbol
  43. def enclMethod : Symbol

    Definition Classes
    AbsSymbol
  44. def enclosingPackage : Symbol

    The package containing this symbol, or NoSymbol if there is not one.

    The package containing this symbol, or NoSymbol if there is not one.

    Definition Classes
    Symbol
  45. def enclosingPackageClass : Symbol

    The package class containing this symbol, or NoSymbol if there is not one.

    The package class containing this symbol, or NoSymbol if there is not one.

    Definition Classes
    Symbol
  46. def encodedName : String

    Definition Classes
    AbsSymbol
  47. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  48. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  49. def existentialBound : Type

    If we quantify existentially over this symbol, the bound of the type variable that stands for it pre: symbol is a term, a class, or an abstract type (no alias type allowed)

    If we quantify existentially over this symbol, the bound of the type variable that stands for it pre: symbol is a term, a class, or an abstract type (no alias type allowed)

    Definition Classes
    Symbol
  50. def existentialToString : String

    String representation of existentially bound variable

    String representation of existentially bound variable

    Definition Classes
    Symbol
  51. def exists : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  52. def expandName (base: Symbol): Unit

    change name by appending $$<fully-qualified-name-of-class base'> Do the same for any accessed symbols or setters/getters

    change name by appending $$<fully-qualified-name-of-class base'> Do the same for any accessed symbols or setters/getters

    Definition Classes
    Symbol
  53. def extendedOverriddenSymbols : List[Symbol]

    Returns all symbols overridden by this symbol, plus all matching symbols defined in parents of the selftype

    Returns all symbols overridden by this symbol, plus all matching symbols defined in parents of the selftype

    Attributes
    final
    Definition Classes
    Symbol
  54. def filter (cond: (Symbol) ⇒ Boolean): Symbol

    Definition Classes
    Symbol
  55. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  56. def flags : Long

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol → HasFlags
  57. def flags_= (fs: Long): Unit

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  58. def freshExistential (suffix: String): Symbol

    Attributes
    final
    Definition Classes
    Symbol
  59. def fullLocationString : String

    Definition Classes
    Symbol
  60. def fullName : String

    Attributes
    final
    Definition Classes
    AbsSymbol
  61. def fullName (separator: Char): String

    Attributes
    final
    Definition Classes
    AbsSymbol
  62. def getAnnotation (cls: Symbol): Option[AnnotationInfo]

    Definition Classes
    Symbol
  63. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  64. def getFlag (mask: Long): Long

    Attributes
    final
    Definition Classes
    Symbol
  65. def getter (base: Symbol): Symbol

    The getter of this value or setter definition in class base', or NoSymbol if none exists.

    The getter of this value or setter definition in class base', or NoSymbol if none exists.

    Attributes
    final
    Definition Classes
    Symbol
  66. def hasAbstractFlag : Boolean

    Definition Classes
    HasFlags
  67. def hasAccessBoundary : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol → HasFlags
  68. def hasAccessorFlag : Boolean

    Definition Classes
    HasFlags
  69. def hasAllFlags (mask: Long): Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol → HasFlags
  70. def hasAnnotation (cls: Symbol): Boolean

    Does this symbol have an annotation of the given class?

    Does this symbol have an annotation of the given class?

    Definition Classes
    Symbol
  71. def hasAssignedAnnotations : Boolean

    Definition Classes
    Symbol
  72. def hasBridgeAnnotation : Boolean

    Definition Classes
    Symbol
  73. def hasContravariantFlag : Boolean

    Definition Classes
    HasFlags
  74. def hasDefault : Boolean

    Definition Classes
    HasFlags
  75. def hasDefaultFlag : Boolean

    Definition Classes
    HasFlags
  76. def hasFlag (mask: Long): Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol → HasFlags
  77. def hasFlagsToString (mask: Long): String

    Definition Classes
    Symbol → HasFlags
  78. def hasGetter : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  79. def hasInConstructorFlag : Boolean

    Definition Classes
    HasFlags
  80. def hasLocalFlag : Boolean

    Definition Classes
    HasFlags
  81. def hasMeaninglessName : Boolean

    If the name of the symbol's owner should be used when you care about seeing an interesting name: in such cases this symbol is e.

    If the name of the symbol's owner should be used when you care about seeing an interesting name: in such cases this symbol is e.g. a method parameter with a synthetic name, a constructor named "this", an object "package", etc. The kind string, if non-empty, will be phrased relative to the name of the owner.

    Definition Classes
    Symbol
  82. def hasModuleFlag : Boolean

    Definition Classes
    HasFlags
  83. def hasNoFlags (mask: Long): Boolean

    Definition Classes
    HasFlags
  84. def hasPackageFlag : Boolean

    Definition Classes
    HasFlags
  85. def hasParamWhich (cond: (Symbol) ⇒ Boolean): Boolean

    Definition Classes
    Symbol
  86. def hasPreSuperFlag : Boolean

    Definition Classes
    HasFlags
  87. def hasRawInfo : Boolean

    Definition Classes
    Symbol
  88. def hasStableFlag : Boolean

    Definition Classes
    HasFlags
  89. def hasStaticFlag : Boolean

    Definition Classes
    HasFlags
  90. def hasTraitFlag : Boolean

    Definition Classes
    HasFlags
  91. def hasTransOwner (sym: Symbol): Boolean

    same as ownerChain contains sym, but more efficient, and with a twist for refinement classes.

    same as ownerChain contains sym, but more efficient, and with a twist for refinement classes. A refinement class has a transowner X if an of its parents has transowner X.

    Definition Classes
    Symbol
  92. def hasTypeAt (pid: Int): Boolean

    Was symbol's type updated during given phase?

    Was symbol's type updated during given phase?

    Attributes
    final
    Definition Classes
    Symbol
  93. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  94. val id : Int

    Definition Classes
    Symbol
  95. def idString : String

    If settings.

    If settings.uniqid is set, the symbol's id, else ""

    Attributes
    final
    Definition Classes
    Symbol
  96. def implClass : Symbol

    The implementation class of a trait

    The implementation class of a trait

    Attributes
    final
    Definition Classes
    Symbol
  97. def implicitMembers : List[Symbol]

  98. def implicitNotFoundMsg : Option[String]

    Definition Classes
    Symbol
  99. def info : Type

    Get type info associated with symbol at current phase, after ensuring that symbol is initialized (i.

    Get type info associated with symbol at current phase, after ensuring that symbol is initialized (i.e. type is completed).

    Definition Classes
    Symbol → AbsSymbol
  100. def infoString (tp: Type): String

    String representation of symbol's definition following its name

    String representation of symbol's definition following its name

    Attributes
    final
    Definition Classes
    Symbol
  101. def info_= (tp: Type): Unit

    Definition Classes
    TypeSymbolSymbol → AbsSymbol
  102. def infosString : String

    Definition Classes
    Symbol
  103. def initialize : ModuleClassSymbol.this.type

    Initialize the symbol

    Initialize the symbol

    Attributes
    final
    Definition Classes
    Symbol
  104. def isAbstractClass : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  105. def isAbstractOverride : Boolean

    Definition Classes
    HasFlags
  106. def isAbstractType : Boolean

    Attributes
    final
    Definition Classes
    ClassSymbolTypeSymbol → AbsSymbol
  107. def isAliasType : Boolean

    Attributes
    final
    Definition Classes
    ClassSymbolTypeSymbol → AbsSymbol
  108. def isAnonOrRefinementClass : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  109. def isAnonymousClass : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  110. def isAnonymousFunction : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  111. def isAuxiliaryConstructor : Boolean

    Does this symbol denote an auxiliary constructor of its enclosing class?

    Does this symbol denote an auxiliary constructor of its enclosing class?

    Attributes
    final
    Definition Classes
    Symbol
  112. def isBridge : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  113. def isByNameParam : Boolean

    Definition Classes
    HasFlags
  114. def isCapturedVariable : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  115. def isCase : Boolean

    Definition Classes
    HasFlags
  116. def isCaseAccessor : Boolean

    Definition Classes
    HasFlags
  117. def isCaseApplyOrUnapply : Boolean

    Is this symbol a synthetic apply or unapply method in a companion object of a case class?

    Is this symbol a synthetic apply or unapply method in a companion object of a case class?

    Attributes
    final
    Definition Classes
    Symbol
  118. def isCaseClass : Boolean

    Definition Classes
    Symbol
  119. def isClass : Boolean

    Attributes
    final
    Definition Classes
    ClassSymbol → AbsSymbol
  120. def isClassConstructor : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  121. def isClassLocalToConstructor : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  122. def isCoDefinedWith (that: Symbol): Boolean

    Is this symbol defined in the same scope and compilation unit as that' symbol?

    Is this symbol defined in the same scope and compilation unit as that' symbol?

    Definition Classes
    Symbol
  123. def isConstant : Boolean

    Is this symbol a constant?

    Is this symbol a constant?

    Attributes
    final
    Definition Classes
    Symbol
  124. def isConstructor : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  125. def isContravariant : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  126. def isCovariant : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  127. def isDefaultInit : Boolean

    Definition Classes
    HasFlags
  128. def isDeferred : Boolean

    Definition Classes
    HasFlags
  129. def isDeprecated : Boolean

    Definition Classes
    Symbol
  130. def isEarlyInitialized : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  131. def isEffectiveRoot : Boolean

    Definition Classes
    AbsSymbol
  132. def isEffectivelyFinal : Boolean

    Is this symbol effectively final? I.

    Is this symbol effectively final? I.e, it cannot be overridden

    Attributes
    final
    Definition Classes
    Symbol
  133. def isEmptyPackage : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  134. def isEmptyPackageClass : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  135. def isErroneous : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  136. def isError : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  137. def isExistentialQuantified : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  138. def isExistentialSkolem : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  139. def isExistentiallyBound : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  140. def isFinal : Boolean

    Definition Classes
    HasFlags
  141. def isGetter : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  142. def isHigherOrderTypeParameter : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  143. def isImplClass : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  144. def isImplOnly : Boolean

    Is this a symbol which exists only in the implementation class, not in its trait?

    Is this a symbol which exists only in the implementation class, not in its trait?

    Attributes
    final
    Definition Classes
    Symbol
  145. def isImplicit : Boolean

    Definition Classes
    HasFlags
  146. def isIncompleteIn (base: Symbol): Boolean

    A a member of class base' is incomplete if (1) it is declared deferred or (2) it is abstract override and its super symbol in base' is nonexistent or incomplete.

    A a member of class base' is incomplete if (1) it is declared deferred or (2) it is abstract override and its super symbol in base' is nonexistent or incomplete.

    base

    ...

    returns

    ...

    Attributes
    final
    Definition Classes
    Symbol
  147. def isInitialized : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  148. def isInitializedToDefault : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  149. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  150. def isInterface : Boolean

    Definition Classes
    HasFlags
  151. def isInterpreterWrapper : Boolean

    Does this symbol denote a wrapper object of the interpreter or its class?

    Does this symbol denote a wrapper object of the interpreter or its class?

    Attributes
    final
    Definition Classes
    Symbol
  152. def isJavaDefined : Boolean

    Definition Classes
    HasFlags
  153. def isJavaInterface : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  154. def isLabel : Boolean

    Definition Classes
    HasFlags
  155. def isLazy : Boolean

    Definition Classes
    HasFlags
  156. def isLazyAccessor : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  157. def isLess (that: Symbol): Boolean

    A total ordering between symbols that refines the class inheritance graph (i.

    A total ordering between symbols that refines the class inheritance graph (i.e. subclass.isLess(superclass) always holds). the ordering is given by: (_.isType, -_.baseTypeSeq.length) for type symbols, followed by id'.

    Attributes
    final
    Definition Classes
    Symbol
  158. def isLessAccessibleThan (other: Symbol): Boolean

    Definition Classes
    Symbol
  159. def isLifted : Boolean

    Definition Classes
    HasFlags
  160. def isLiftedMethod : Boolean

    Definition Classes
    Symbol
  161. def isLocal : Boolean

    Is this symbol locally defined? I.

    Is this symbol locally defined? I.e. not accessed from outside this' instance

    Attributes
    final
    Definition Classes
    Symbol
  162. def isLocalClass : Boolean

    Is this class locally defined? A class is local, if

    Is this class locally defined? A class is local, if

    • it is anonymous, or
    • its owner is a value
    • it is defined within a local class
    Attributes
    final
    Definition Classes
    Symbol
  163. def isLocalDummy : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  164. def isMemberOf (clazz: Symbol): Boolean

    Is this symbol a member of class clazz'

    Is this symbol a member of class clazz'

    Definition Classes
    Symbol
  165. def isMethod : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  166. def isMixinConstructor : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  167. def isModule : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  168. def isModuleClass : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  169. def isModuleVar : Boolean

    Is this symbol a module variable? This used to have to test for MUTABLE to distinguish the overloaded MODULEVAR/SYNTHETICMETH flag, but now SYNTHETICMETH is gone.

    Is this symbol a module variable? This used to have to test for MUTABLE to distinguish the overloaded MODULEVAR/SYNTHETICMETH flag, but now SYNTHETICMETH is gone.

    Attributes
    final
    Definition Classes
    Symbol
  170. def isMonomorphicType : Boolean

    Is symbol a monomorphic type? assumption: if a type starts out as monomorphic, it will not acquire type parameters in later phases.

    Is symbol a monomorphic type? assumption: if a type starts out as monomorphic, it will not acquire type parameters in later phases.

    Attributes
    final
    Definition Classes
    Symbol
  171. def isMutable : Boolean

    Definition Classes
    HasFlags
  172. def isNestedClass : Boolean

    Is this class nested in another class or module (not a package)?

    Is this class nested in another class or module (not a package)?

    Attributes
    final
    Definition Classes
    Symbol
  173. def isNestedIn (that: Symbol): Boolean

    A partial ordering between symbols.

    A partial ordering between symbols. (this isNestedIn that) holds iff this symbol is defined within a class or method defining that symbol

    Attributes
    final
    Definition Classes
    Symbol
  174. def isNonBottomSubClass (that: Symbol): Boolean

    Is this class symbol a subclass of that symbol?

    Is this class symbol a subclass of that symbol?

    Attributes
    final
    Definition Classes
    Symbol
  175. def isNonClassType : Boolean

    Is this symbol a type but not a class?

    Is this symbol a type but not a class?

    Attributes
    final
    Definition Classes
    ClassSymbolTypeSymbolSymbol
  176. def isNumericSubClass (that: Symbol): Boolean

    Attributes
    final
    Definition Classes
    Symbol
  177. def isOuterAccessor : Boolean

    Is this symbol an accessor method for outer?

    Is this symbol an accessor method for outer?

    Attributes
    final
    Definition Classes
    Symbol
  178. def isOuterField : Boolean

    Is this symbol an accessor method for outer?

    Is this symbol an accessor method for outer?

    Attributes
    final
    Definition Classes
    Symbol
  179. def isOverloaded : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  180. def isOverride : Boolean

    Definition Classes
    HasFlags
  181. def isPackage : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  182. def isPackageClass : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  183. def isPackageObject : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  184. def isPackageObjectClass : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  185. def isParamAccessor : Boolean

    Definition Classes
    HasFlags
  186. def isParameter : Boolean

    Definition Classes
    HasFlags
  187. def isPredefModule : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  188. def isPrimaryConstructor : Boolean

    Does this symbol denote the primary constructor of its enclosing class?

    Does this symbol denote the primary constructor of its enclosing class?

    Attributes
    final
    Definition Classes
    Symbol
  189. def isPrivate : Boolean

    Definition Classes
    HasFlags
  190. def isPrivateLocal : Boolean

    Definition Classes
    HasFlags
  191. def isProtected : Boolean

    Definition Classes
    HasFlags
  192. def isProtectedLocal : Boolean

    Definition Classes
    HasFlags
  193. def isPublic : Boolean

    Definition Classes
    HasFlags
  194. def isRefinementClass : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  195. def isRoot : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  196. def isRootPackage : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  197. def isScalaPackage : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  198. def isScalaPackageClass : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  199. def isSealed : Boolean

    Definition Classes
    HasFlags
  200. def isSerializable : Boolean

    Definition Classes
    Symbol
  201. def isSetter : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  202. def isSetterParameter : Boolean

    Definition Classes
    Symbol
  203. def isSingletonExistential : Boolean

    Definition Classes
    Symbol
  204. def isSourceMethod : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  205. def isStable : Boolean

    Does this symbol denote a stable value?

    Does this symbol denote a stable value?

    Attributes
    final
    Definition Classes
    Symbol
  206. def isStableClass : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  207. def isStatic : Boolean

    Is this symbol static (i.

    Is this symbol static (i.e. with no outer instance)?

    Attributes
    final
    Definition Classes
    Symbol
  208. def isStaticConstructor : Boolean

    Is this symbol a static constructor?

    Is this symbol a static constructor?

    Attributes
    final
    Definition Classes
    Symbol
  209. def isStaticMember : Boolean

    Is this symbol a static member of its class? (i.

    Is this symbol a static member of its class? (i.e. needs to be implemented as a Java static?)

    Attributes
    final
    Definition Classes
    Symbol
  210. def isStaticModule : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  211. def isStaticOwner : Boolean

    Does this symbol denote a class that defines static symbols?

    Does this symbol denote a class that defines static symbols?

    Attributes
    final
    Definition Classes
    Symbol
  212. def isStrictFP : Boolean

    Definition Classes
    Symbol
  213. def isStructuralRefinement : Boolean

    Is this class or type defined as a structural refinement type?

    Is this class or type defined as a structural refinement type?

    Attributes
    final
    Definition Classes
    Symbol
  214. def isSubClass (that: Symbol): Boolean

    Attributes
    final
    Definition Classes
    Symbol
  215. def isSuperAccessor : Boolean

    Definition Classes
    HasFlags
  216. def isSynthetic : Boolean

    Definition Classes
    HasFlags
  217. def isTerm : Boolean

    Definition Classes
    AbsSymbol
  218. def isThisSym : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  219. def isTrait : Boolean

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol → HasFlags
  220. def isType : Boolean

    Attributes
    final
    Definition Classes
    TypeSymbol → AbsSymbol
  221. def isTypeParameter : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  222. def isTypeParameterOrSkolem : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  223. def isTypeSkolem : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  224. def isUpdatedAt (pid: Int): Boolean

    Was symbol's type updated during given phase?

    Was symbol's type updated during given phase?

    Attributes
    final
    Definition Classes
    Symbol
  225. def isValue : Boolean

    Term symbols with the exception of static parts of Java classes and packages.

    Term symbols with the exception of static parts of Java classes and packages.

    Attributes
    final
    Definition Classes
    Symbol
  226. def isValueParameter : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  227. def isVarargsMethod : Boolean

    Attributes
    final
    Definition Classes
    AbsSymbol
  228. def isVariable : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  229. def isVirtualClass : Boolean

    Definition Classes
    Symbol
  230. def isVirtualTrait : Boolean

    Definition Classes
    Symbol
  231. def keyString : String

    String representation of symbol's definition key word

    String representation of symbol's definition key word

    Attributes
    final
    Definition Classes
    Symbol
  232. def kindString : String

    Attributes
    final
    Definition Classes
    Symbol
  233. def lazyAccessor : Symbol

    For a lazy value, its lazy accessor.

    For a lazy value, its lazy accessor. NoSymbol for all others

    Definition Classes
    Symbol → AbsSymbol
  234. def lazyAccessorOrSelf : Symbol

    If this is a lazy value, the lazy accessor; otherwise this symbol.

    If this is a lazy value, the lazy accessor; otherwise this symbol.

    Definition Classes
    Symbol
  235. def linkedClassOfClass : Symbol

    For a module class: its linked class For a plain class: the module class of its linked module.

    For a module class: its linked class For a plain class: the module class of its linked module.

    class Foo <-- linkedClassOfClass --> class Foo$

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  236. def locationString : String

    String representation of location, plus a preposition.

    String representation of location, plus a preposition. Doesn't do much, for backward compatibility reasons.

    Definition Classes
    Symbol
  237. def lock (handler: ⇒ Unit): Unit

    Definition Classes
    Symbol
  238. def lockOK : Boolean

    Definition Classes
    Symbol
  239. def logicallyEnclosingMember : Symbol

    The method or class which logically encloses the current symbol.

    The method or class which logically encloses the current symbol. If the symbol is defined in the initialization part of a template this is the template's primary constructor, otherwise it is the physically enclosing method or class.

    Example 1:

    def f() { val x = { def g() = ...; g() } }

    In this case the owner chain of g' is x', followed by f' and g.logicallyEnclosingMember == f. Example 2: class C { def <init> = { ... } val x = { def g() = ...; g() } } } In this case the owner chain of g' is x', followed by C' but g.logicallyEnclosingMember is the primary constructor symbol <init>' (or, for traits: $init') of C'.

    Definition Classes
    Symbol
  240. def makeNotPrivate (base: Symbol): Unit

    Remove private modifier from symbol sym's definition. If sym' is a term symbol rename it by expanding its name to avoid name clashes

    Remove private modifier from symbol sym's definition. If sym' is a term symbol rename it by expanding its name to avoid name clashes

    Attributes
    final
    Definition Classes
    Symbol
  241. def makeSerializable (): Unit

    Adds the interface scala.

    Adds the interface scala.Serializable to the parents of a ClassInfoType. Note that the tree also has to be updated accordingly.

    Definition Classes
    Symbol
  242. def matchingSymbol (site: Type, admit: Long = 0L): Symbol

    The non-private member of site' whose type and name match the type of this symbol

    The non-private member of site' whose type and name match the type of this symbol

    Attributes
    final
    Definition Classes
    Symbol
  243. def matchingSymbol (ofclazz: Symbol, site: Type): Symbol

    The non-private symbol whose type matches the type of this symbol in in given class.

    The non-private symbol whose type matches the type of this symbol in in given class.

    ofclazz

    The class containing the symbol's definition

    site

    The base type from which member types are computed

    Attributes
    final
    Definition Classes
    Symbol
  244. def migrationMessage : Option[String]

    Definition Classes
    Symbol
  245. def mixinClasses : List[Symbol]

    The directly or indirectly inherited mixins of this class except for mixin classes inherited by the superclass.

    The directly or indirectly inherited mixins of this class except for mixin classes inherited by the superclass. Mixin classes appear in linearization order.

    Definition Classes
    Symbol
  246. def moduleClass : Symbol

    The module class corresponding to this module.

    The module class corresponding to this module.

    Definition Classes
    Symbol → AbsSymbol
  247. def nameString : String

    String representation of symbol's simple name.

    String representation of symbol's simple name. If !settings.debug translates expansions of operators back to operator symbol. E.g. $eq => =. If settings.uniqid, adds id.

    Definition Classes
    Symbol
  248. def name_= (name: Name): Unit

    Attributes
    final
    Definition Classes
    Symbol
  249. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  250. def needsFlatClasses : Boolean

    Attributes
    final
    Definition Classes
    Symbol
  251. def needsImplClass : Boolean

    Is this symbol a trait which needs an implementation class?

    Is this symbol a trait which needs an implementation class?

    Attributes
    final
    Definition Classes
    Symbol
  252. def newAbstractType (name: TypeName, pos: Position = NoPosition): TypeSymbol

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  253. def newAbstractType (pos: Position, name: TypeName): TypeSymbol

    Symbol of an abstract type type T >: .

    Symbol of an abstract type type T >: ... <: ...

    Attributes
    final
    Definition Classes
    Symbol
  254. def newAliasType (name: TypeName, pos: Position = NoPosition): TypeSymbol

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  255. def newAliasType (pos: Position, name: TypeName): TypeSymbol

    Symbol of a type definition type T = .

    Symbol of a type definition type T = ...

    Attributes
    final
    Definition Classes
    Symbol
  256. def newAnonymousClass (pos: Position): ClassSymbol

    Attributes
    final
    Definition Classes
    Symbol
  257. def newAnonymousFunctionClass (pos: Position): ClassSymbol

    Attributes
    final
    Definition Classes
    Symbol
  258. def newClass (name: TypeName, pos: Position = NoPosition): ClassSymbol

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  259. def newClass (pos: Position, name: TypeName): ClassSymbol

    Attributes
    final
    Definition Classes
    Symbol
  260. def newConstructor (pos: Position): MethodSymbol

    Attributes
    final
    Definition Classes
    Symbol
  261. def newErrorClass (name: TypeName): ClassSymbol

    Attributes
    final
    Definition Classes
    Symbol
  262. def newErrorSymbol (name: Name): Symbol

    Attributes
    final
    Definition Classes
    Symbol
  263. def newErrorValue (name: TermName): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol
  264. def newExistential (pos: Position, name: TypeName): Symbol

    Attributes
    final
    Definition Classes
    Symbol
  265. def newGetter : Symbol

    Create a new getter for current symbol (which must be a field)

    Create a new getter for current symbol (which must be a field)

    Attributes
    final
    Definition Classes
    Symbol
  266. def newImport (pos: Position): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol
  267. def newLabel (pos: Position, name: TermName): MethodSymbol

    Attributes
    final
    Definition Classes
    Symbol
  268. def newLocalDummy (pos: Position): TermSymbol

    Create local dummy for template (owner of local blocks)

    Create local dummy for template (owner of local blocks)

    Attributes
    final
    Definition Classes
    Symbol
  269. def newMethod (name: TermName, pos: Position = NoPosition): MethodSymbol

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  270. def newMethod (pos: Position, name: TermName): MethodSymbol

    Attributes
    final
    Definition Classes
    Symbol
  271. def newModule (pos: Position, name: TermName): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol
  272. def newModule (name: TermName, clazz: Symbol, pos: Position = NoPosition): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  273. def newModule (pos: Position, name: TermName, clazz: ClassSymbol): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol
  274. def newModuleClass (name: TypeName, pos: Position = NoPosition): ModuleClassSymbol

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  275. def newModuleClass (pos: Position, name: TypeName): ModuleClassSymbol

    Attributes
    final
    Definition Classes
    Symbol
  276. def newOuterAccessor (pos: Position): MethodSymbol

    for explicit outer phase

    for explicit outer phase

    Attributes
    final
    Definition Classes
    Symbol
  277. def newOverloaded (pre: Type, alternatives: List[Symbol]): Symbol

    pre

    type relative to which alternatives are seen. for instance: class C[T] { def m(x: T): T def m'(): T } val v: C[Int]

    Then v.m has symbol TermSymbol(flags = {OVERLOADED}, tpe = OverloadedType(C[Int], List(m, m'))) You recover the type of m doing a

    m.tpe.asSeenFrom(pre, C) (generally, owner of m, which is C here).

    or:

    pre.memberType(m)

    Attributes
    final
    Definition Classes
    Symbol
  278. def newPackage (pos: Position, name: TermName): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol
  279. def newRefinementClass (pos: Position): ClassSymbol

    Refinement types P { val x: String; type T <: Number } also have symbols, they are refinementClasses

    Refinement types P { val x: String; type T <: Number } also have symbols, they are refinementClasses

    Attributes
    final
    Definition Classes
    Symbol
  280. def newSyntheticValueParam (argtype: Type): Symbol

    Synthetic value parameter when parameter symbol is not available.

    Synthetic value parameter when parameter symbol is not available. Calling this method multiple times will re-use the same parameter name.

    Attributes
    final
    Definition Classes
    Symbol
  281. def newSyntheticValueParams (argtypes: List[Type]): List[Symbol]

    Synthetic value parameters when parameter symbols are not available.

    Synthetic value parameters when parameter symbols are not available. Calling this method multiple times will re-use the same parameter names.

    Attributes
    final
    Definition Classes
    Symbol
  282. def newSyntheticValueParamss (argtypess: List[List[Type]]): List[List[Symbol]]

    Synthetic value parameters when parameter symbols are not available

    Synthetic value parameters when parameter symbols are not available

    Attributes
    final
    Definition Classes
    Symbol
  283. def newThisSym (pos: Position): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol
  284. def newTypeParameter (pos: Position, name: TypeName): TypeSymbol

    Symbol of a type parameter

    Symbol of a type parameter

    Attributes
    final
    Definition Classes
    Symbol
  285. def newTypeSkolem : Symbol

    Type skolems are type parameters seen from the inside Assuming a polymorphic method m[T], its type is a PolyType which has a TypeParameter with name T' in its typeParams list. While type checking the parameters, result type and body of the method, there's a local copy of T' which is a TypeSkolem.

    Type skolems are type parameters seen from the inside Assuming a polymorphic method m[T], its type is a PolyType which has a TypeParameter with name T' in its typeParams list. While type checking the parameters, result type and body of the method, there's a local copy of T' which is a TypeSkolem.

    Attributes
    final
    Definition Classes
    Symbol
  286. def newValue (name: TermName, pos: Position = NoPosition): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  287. def newValue (pos: Position, name: TermName): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol
  288. def newValueParameter (pos: Position, name: TermName): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol
  289. def newVariable (pos: Position, name: TermName): TermSymbol

    Attributes
    final
    Definition Classes
    Symbol
  290. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  291. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  292. def orElse [T] (alt: ⇒ Symbol): Symbol

    Definition Classes
    AbsSymbol
  293. def originalEnclosingMethod : Symbol

    Return the original enclosing method of this symbol.

    Return the original enclosing method of this symbol. It should return the same thing as enclMethod when called before lambda lift, but it preserves the original nesting when called afterwards.

    Definition Classes
    Symbol
  294. def originalName : Name

    If this symbol has an expanded name, its original name, otherwise its name itself.

    If this symbol has an expanded name, its original name, otherwise its name itself.

    Definition Classes
    Symbol
    See also

    expandName

  295. def outerClass : Symbol

    The class that is logically an outer class of given clazz'. This is the enclosing class, except for classes defined locally to constructors, where it is the outer class of the enclosing class

    The class that is logically an outer class of given clazz'. This is the enclosing class, except for classes defined locally to constructors, where it is the outer class of the enclosing class

    Attributes
    final
    Definition Classes
    Symbol
  296. def outerSource : Symbol

    For an outer accessor: The class from which the outer originates.

    For an outer accessor: The class from which the outer originates. For all other symbols: NoSymbol

    Definition Classes
    Symbol
  297. def overriddenSymbol (ofclazz: Symbol): Symbol

    The symbol overridden by this symbol in given class ofclazz'.

    The symbol overridden by this symbol in given class ofclazz'.

    Attributes
    final
    Definition Classes
    Symbol
  298. def overridingSymbol (ofclazz: Symbol): Symbol

    The symbol overriding this symbol in given subclass ofclazz'

    The symbol overriding this symbol in given subclass ofclazz'

    Attributes
    final
    Definition Classes
    Symbol
  299. def ownerChain : List[Symbol]

    Definition Classes
    Symbol
  300. def owner_= (owner: Symbol): Unit

    Attributes
    final
    Definition Classes
    Symbol → AbsSymbol
  301. def ownersIterator : Iterator[Symbol]

    Definition Classes
    Symbol
  302. def ownsString : String

    String representation of location.

    String representation of location.

    Definition Classes
    Symbol
  303. def paramss : List[List[Symbol]]

    The value parameter sections of this symbol.

    The value parameter sections of this symbol.

    Definition Classes
    Symbol
  304. def primaryConstructor : Symbol

    The primary constructor of a class

    The primary constructor of a class

    Definition Classes
    Symbol
  305. def printWithoutPrefix : Boolean

    Conditions where we omit the prefix when printing a symbol, to avoid unpleasantries like Predef.

    Conditions where we omit the prefix when printing a symbol, to avoid unpleasantries like Predef.String, $iw.$iw.Foo and <empty>.Bippy.

    Attributes
    final
    Definition Classes
    Symbol
  306. def privateWithin : Symbol

    Definition Classes
    Symbol → AbsSymbol → HasFlags
  307. def privateWithin_= (sym: Symbol): Unit

    Definition Classes
    Symbol → AbsSymbol
  308. def rawAnnotations : List[AnnotationInfoBase]

    Definition Classes
    Symbol
  309. def rawInfo : Type

    Return info without checking for initialization or completing

    Return info without checking for initialization or completing

    Definition Classes
    Symbol → AbsSymbol
  310. var rawflags : Long

    Definition Classes
    Symbol
  311. var rawname : Name

    Definition Classes
    Symbol
  312. var rawowner : Symbol

    Definition Classes
    Symbol
  313. def removeAnnotation (cls: Symbol): Unit

    Remove all annotations matching the given class.

    Remove all annotations matching the given class.

    Definition Classes
    Symbol
  314. def reset (completer: Type): Unit

    Reset symbol to initial state

    Reset symbol to initial state

    Definition Classes
    ClassSymbolTypeSymbolSymbol
  315. def resetFlag (mask: Long): ModuleClassSymbol.this.type

    Attributes
    final
    Definition Classes
    Symbol
  316. def resetFlags (): Unit

    Attributes
    final
    Definition Classes
    Symbol
  317. def sealedDescendants : List[Symbol]

    Recursively finds all sealed descendants and returns a sorted list.

    Recursively finds all sealed descendants and returns a sorted list. Includes this symbol unless it is abstract, but as value classes are marked abstract so they can't be instantiated, they are special cased.

    Definition Classes
    Symbol
  318. def sealedSortName : String

    The String used to order otherwise identical sealed symbols.

    The String used to order otherwise identical sealed symbols. This uses data which is stable across runs and variable classpaths (the initial Name) before falling back on id, which varies depending on exactly when a symbol is loaded.

    Attributes
    final
    Definition Classes
    Symbol
  319. def setAnnotations (annots: List[AnnotationInfoBase]): ModuleClassSymbol.this.type

    Definition Classes
    Symbol
  320. def setFlag (mask: Long): ModuleClassSymbol.this.type

    Attributes
    final
    Definition Classes
    Symbol
  321. def setInfo (info: Type): ModuleClassSymbol.this.type

    Set initial info.

    Set initial info.

    Definition Classes
    Symbol
  322. def setInfoOwnerAdjusted (info: Type): ModuleClassSymbol.this.type

    Definition Classes
    Symbol
  323. def setPos (pos: Position): ModuleClassSymbol.this.type

    Definition Classes
    Symbol
  324. def setter (base: Symbol, hasExpandedName: Boolean): Symbol

    Attributes
    final
    Definition Classes
    Symbol
  325. def setter (base: Symbol): Symbol

    The setter of this value or getter definition, or NoSymbol if none exists

    The setter of this value or getter definition, or NoSymbol if none exists

    Attributes
    final
    Definition Classes
    Symbol
  326. def simpleName : Name

    The simple name of this Symbol

    The simple name of this Symbol

    Attributes
    final
    Definition Classes
    Symbol
  327. def skipConstructor : Symbol

    If this is a constructor, its owner: otherwise this.

    If this is a constructor, its owner: otherwise this.

    Attributes
    final
    Definition Classes
    Symbol
  328. def skipPackageObject : Symbol

    If this is a package object or package object class, its owner: otherwise this.

    If this is a package object or package object class, its owner: otherwise this.

    Attributes
    final
    Definition Classes
    Symbol
  329. def sourceFile : AbstractFile

    Definition Classes
    ClassSymbolSymbol
  330. def sourceFile_= (f: AbstractFile): Unit

    Definition Classes
    ClassSymbolSymbol
  331. def sourceModule : Symbol

    Definition Classes
    ModuleClassSymbolClassSymbol → AbsSymbol
  332. def sourceModule_= (module: Symbol): Unit

    Definition Classes
    ModuleClassSymbol → AbsSymbol
  333. def suchThat (cond: (Symbol) ⇒ Boolean): Symbol

    Definition Classes
    Symbol
  334. def superClass : Symbol

    The superclass of this class

    The superclass of this class

    Definition Classes
    Symbol
  335. def superSymbol (base: Symbol): Symbol

    The symbol accessed by a super in the definition of this symbol when seen from class base'. This symbol is always concrete. pre: this.

    The symbol accessed by a super in the definition of this symbol when seen from class base'. This symbol is always concrete. pre: this.owner' is in the base class sequence of base'.

    Attributes
    final
    Definition Classes
    Symbol
  336. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  337. def tag : Int

    A tag which (in the ideal case) uniquely identifies class symbols

    A tag which (in the ideal case) uniquely identifies class symbols

    Attributes
    final
    Definition Classes
    Symbol
  338. def thisSym : Symbol

    A symbol carrying the self type of the class as its type

    A symbol carrying the self type of the class as its type

    Definition Classes
    ClassSymbolSymbol
  339. def thisType : Type

    the type this.

    the type this.type in this class

    Definition Classes
    ClassSymbolSymbol
  340. def toInterface : Symbol

    If this symbol is an implementation class, its interface, otherwise the symbol itself The method follows two strategies to determine the interface.

    If this symbol is an implementation class, its interface, otherwise the symbol itself The method follows two strategies to determine the interface.

    • during or after erasure, it takes the last parent of the implementation class (which is always the interface, by convention)
    • before erasure, it looks up the interface name in the scope of the owner of the class. This only works for implementation classes owned by other classes or traits.
    Attributes
    final
    Definition Classes
    Symbol
  341. def toString (): String

    String representation, including symbol's kind e.

    String representation, including symbol's kind e.g., "class Foo", "method Bar". If hasMeaninglessName is true, uses the owner's name to disambiguate identity.

    Definition Classes
    Symbol → AnyRef → Any
  342. def toplevelClass : Symbol

    The top-level class containing this symbol

    The top-level class containing this symbol

    Definition Classes
    Symbol
  343. def tpe : Type

    Let's say you have a type definition

    Let's say you have a type definition

    type T <: Number

    and tsym is the symbol corresponding to T. Then

    tsym.info = TypeBounds(Nothing, Number) tsym.tpe = TypeRef(NoPrefix, T, List())

    Definition Classes
    TypeSymbolSymbol → AbsSymbol
  344. def tpeHK : Type

    Definition Classes
    TypeSymbolSymbol
  345. def typeConstructor : Type

    The type constructor of a symbol is: For a type symbol, the type corresponding to the symbol itself, excluding parameters.

    The type constructor of a symbol is: For a type symbol, the type corresponding to the symbol itself, excluding parameters. Not applicable for term symbols.

    Definition Classes
    TypeSymbolSymbol
  346. def typeOfThis : Type

    the self type of an object foo is foo.

    the self type of an object foo is foo.type, not class<foo>.this.type

    Definition Classes
    ClassSymbolSymbol → AbsSymbol
  347. def typeOfThis_= (tp: Type): Unit

    Sets the self type of the class

    Sets the self type of the class

    Definition Classes
    ClassSymbol → AbsSymbol
  348. def typeParams : List[Symbol]

    The type parameters of this symbol.

    The type parameters of this symbol. assumption: if a type starts out as monomorphic, it will not acquire type parameters later.

    Definition Classes
    Symbol
  349. def unlock (): Unit

    Definition Classes
    Symbol
  350. def unpackLocation : AnyRef

    If this symbol is an existential skolem the location (a Tree or null) where it was unpacked.

    If this symbol is an existential skolem the location (a Tree or null) where it was unpacked. Resulttype is AnyRef because trees are not visible here.

    Definition Classes
    Symbol
  351. def unsafeTypeParams : List[Symbol]

    The type parameters of this symbol, without ensuring type completion.

    The type parameters of this symbol, without ensuring type completion. assumption: if a type starts out as monomorphic, it will not acquire type parameters later.

    Definition Classes
    Symbol
  352. def updateInfo (info: Type): Symbol

    Set new info valid from start of this phase.

    Set new info valid from start of this phase.

    Attributes
    final
    Definition Classes
    Symbol
  353. var validTo : Period

    Definition Classes
    Symbol
  354. def variance : Int

    The variance of this symbol as an integer

    The variance of this symbol as an integer

    Attributes
    final
    Definition Classes
    Symbol
  355. def varianceString : String

    String representation of symbol's variance

    String representation of symbol's variance

    Definition Classes
    Symbol
  356. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  357. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  358. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def isAbstract : Boolean

    Definition Classes
    HasFlags
    Annotations
    @deprecated
    Deprecated

Inherited from ClassSymbol

Inherited from TypeSymbol

Inherited from Symbol

Inherited from AbsSymbol

Inherited from HasFlags

Inherited from AnyRef

Inherited from Any