scala.reflect.runtime.SynchronizedSymbols

SynchronizedSymbol

trait SynchronizedSymbol extends Symbol

Source
SynchronizedSymbols.scala
Linear Supertypes
Symbol, Annotatable[Symbol], HasFlags, AbsSymbolImpl, AbsSymbol, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SynchronizedSymbol
  2. Symbol
  3. Annotatable
  4. HasFlags
  5. AbsSymbolImpl
  6. AbsSymbol
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Type Members

  1. type AccessBoundaryType = Symbol

    Definition Classes
    SymbolHasFlags
  2. type AnnotationType = AnnotationInfo

    Definition Classes
    SymbolHasFlags
  3. type FlagsType = Long

    Definition Classes
    SymbolHasFlags

Abstract Value Members

  1. abstract def cloneSymbolImpl(owner: Symbol, newFlags: Long): Symbol

    Internal method to clone a symbol's implementation with the given flags and no info.

    Internal method to clone a symbol's implementation with the given flags and no info.

    Definition Classes
    Symbol
  2. abstract def doCookJavaRawInfo(): Unit

    Attributes
    protected
    Definition Classes
    Symbol
  3. abstract 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

Concrete Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. def abbreviatedKindString: String

    String representation of symbol's kind, suitable for the masses.

    String representation of symbol's kind, suitable for the masses.

    Attributes
    protected[scala]
    Definition Classes
    Symbol
  7. 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. As java protected statics are otherwise completely inaccessible in scala, they are treated as public.

    Definition Classes
    Symbol
  8. def accessString: String

    Definition Classes
    Symbol
  9. final 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.

    Definition Classes
    Symbol
  10. final def accessed: Symbol

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

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

    Definition Classes
    Symbol
  11. def accessedOrSelf: Symbol

    If this is an accessor, the accessed symbol.

    If this is an accessor, the accessed symbol. Otherwise, this symbol.

    Definition Classes
    Symbol
  12. final def accurateKindString: String

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

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

    Definition Classes
    Symbol
  13. def addAnnotation(sym: Symbol, args: Tree*): SynchronizedSymbol.this.type

    Definition Classes
    Symbol
  14. def addAnnotation(annot: AnnotationInfo): SynchronizedSymbol.this.type

    Definition Classes
    Symbol
  15. def addChild(sym: Symbol): Unit

    Definition Classes
    Symbol
  16. 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
  17. final def allOverriddenSymbols: List[Symbol]

    Returns all symbols overriden by this symbol.

    Returns all symbols overriden by this symbol.

    Definition Classes
    Symbol
  18. def alternatives: List[Symbol]

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

    All directly or indirectly inherited classes.

    All directly or indirectly inherited classes.

    Definition Classes
    Symbol
  20. 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
    SynchronizedSymbolSymbolAnnotatableHasFlags → AbsSymbol
  21. def annotationsString: String

    Definition Classes
    Symbol
  22. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  23. def asType: Type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  24. def asTypeConstructor: Type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  25. def asTypeIn(site: Type): Type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  26. final def caseFieldAccessors: List[Symbol]

    For a case class, the symbols of the accessor methods, one for each argument in the first parameter list of the primary constructor.

    For a case class, the symbols of the accessor methods, one for each argument in the first parameter list of the primary constructor. The empty list for all other classes.

    Definition Classes
    Symbol
  27. final def caseModule: Symbol

    The case module corresponding to this case class

    The case module corresponding to this case class

    Definition Classes
    Symbol
  28. def children: Set[Symbol]

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

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

    Definition Classes
    Symbol
  29. 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
  30. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. final def cloneSymbol(newOwner: Symbol, newFlags: Long, newName: Name): Symbol

    Definition Classes
    Symbol
  32. final def cloneSymbol(newOwner: Symbol, newFlags: Long): Symbol

    Definition Classes
    Symbol
  33. final def cloneSymbol(newOwner: Symbol): Symbol

    A clone of this symbol, but with given owner.

    A clone of this symbol, but with given owner.

    Definition Classes
    Symbol
  34. final def cloneSymbol: Symbol

    A clone of this symbol.

    A clone of this symbol.

    Definition Classes
    Symbol
  35. def cloneSymbolImpl(owner: Symbol): Symbol

    Definition Classes
    Symbol
  36. final def companionClass: Symbol

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

    For a module: 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

    Definition Classes
    Symbol
  37. final 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

    Definition Classes
    Symbol
  38. final 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

    Definition Classes
    Symbol → AbsSymbol
  39. final def constrParamAccessors: List[Symbol]

    Definition Classes
    Symbol
  40. final 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.

    Definition Classes
    Symbol
  41. 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
  42. def debugFlagString: String

    Definition Classes
    Symbol
  43. def debugLocationString: String

    Definition Classes
    Symbol
  44. def decodedName: String

    The decoded name of the symbol, e.

    The decoded name of the symbol, e.g. == instead of $eq$eq.

    Definition Classes
    Symbol
  45. def defString: String

    String representation of symbol's definition.

    String representation of symbol's definition. It uses the symbol's raw info to avoid forcing types.

    Definition Classes
    Symbol
  46. def defStringSeenAs(info: Type): String

    String representation of symbol's definition, using the supplied info rather than the symbol's.

    String representation of symbol's definition, using the supplied info rather than the symbol's.

    Definition Classes
    Symbol
  47. def defaultFlagMask: Long

    Definition Classes
    Symbol
  48. def defaultFlagString: String

    Definition Classes
    Symbol
  49. def deprecatedParamName: Option[TermName]

    Definition Classes
    Symbol
  50. def deprecationMessage: Option[String]

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

    Definition Classes
    Symbol
  52. def effectiveOwner: Symbol

    The owner, skipping package objects.

    The owner, skipping package objects.

    Definition Classes
    Symbol
  53. def elisionLevel: Option[Int]

    Definition Classes
    Symbol
  54. def enclClass: Symbol

    The next enclosing class.

    The next enclosing class.

    Definition Classes
    Symbol
  55. def enclClassChain: List[Symbol]

    Definition Classes
    Symbol
  56. def enclMethod: Symbol

    The next enclosing method.

    The next enclosing method.

    Definition Classes
    Symbol
  57. def enclosingClass: Symbol

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  58. def enclosingMethod: Symbol

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  59. 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
  60. 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 → AbsSymbol
  61. def enclosingTopLevelClass: Symbol

    The top-level class containing this symbol.

    The top-level class containing this symbol.

    Definition Classes
    Symbol → AbsSymbol
  62. def encodedName: String

    The name of the symbol before decoding, e.

    The name of the symbol before decoding, e.g. $eq$eq instead of ==.

    Definition Classes
    Symbol
  63. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  64. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  65. def existentialToString: String

    String representation of existentially bound variable

    String representation of existentially bound variable

    Definition Classes
    Symbol
  66. final def exists: Boolean

    Definition Classes
    Symbol
  67. 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
  68. final 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.

    Definition Classes
    Symbol
  69. def filter(cond: (Symbol) ⇒ Boolean): Symbol

    Definition Classes
    Symbol
  70. def filterAnnotations(p: (AnnotationInfo) ⇒ Boolean): SynchronizedSymbol.this.type

    Definition Classes
    SymbolAnnotatable
  71. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  72. def firstParam: Symbol

    The first parameter to the first argument list of this method, or NoSymbol if inapplicable.

    The first parameter to the first argument list of this method, or NoSymbol if inapplicable.

    Definition Classes
    Symbol
  73. final def flags: Long

    Though both Symbol and Modifiers widen this method to public, it's defined protected here to give us the option in the future to route flag methods through accessors and disallow raw flag manipulation.

    Though both Symbol and Modifiers widen this method to public, it's defined protected here to give us the option in the future to route flag methods through accessors and disallow raw flag manipulation. And after that, perhaps, on some magical day: a typesafe enumeration.

    Definition Classes
    SymbolHasFlags
  74. def flags_=(fs: Long): Unit

    Definition Classes
    Symbol
  75. final def freshExistential(suffix: String): Symbol

    Definition Classes
    Symbol
  76. def fullLocationString: String

    Definition Classes
    Symbol
  77. final def fullName: String

    The encoded full path name of this symbol, where outer names and inner names are separated by periods.

    The encoded full path name of this symbol, where outer names and inner names are separated by periods.

    Definition Classes
    Symbol → AbsSymbol
  78. final def fullName(separator: Char): String

    The encoded full path name of this symbol, where outer names and inner names are separated by separator characters.

    The encoded full path name of this symbol, where outer names and inner names are separated by separator characters. Never translates expansions of operators back to operator symbol. Never adds id. Drops package objects.

    Definition Classes
    Symbol
  79. def fullNameAsName(separator: Char): Name

    Definition Classes
    Symbol
  80. def fullNameString: String

    Definition Classes
    Symbol
  81. def getAnnotation(cls: Symbol): Option[AnnotationInfo]

    Definition Classes
    Annotatable
  82. final def getClass(): Class[_]

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

    Definition Classes
    Symbol
  84. final 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.

    Definition Classes
    Symbol
  85. def getterName: TermName

    Definition Classes
    Symbol
  86. def hasAbstractFlag: Boolean

    Definition Classes
    HasFlags
  87. final def hasAccessBoundary: Boolean

    Does symbol have a private or protected qualifier set?

    Does symbol have a private or protected qualifier set?

    Definition Classes
    SymbolHasFlags
  88. def hasAccessorFlag: Boolean

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

    Does symbol have ALL the flags in mask set?

    Does symbol have ALL the flags in mask set?

    Definition Classes
    SymbolHasFlags
  90. def hasAnnotation(cls: Symbol): Boolean

    Test for, get, or remove an annotation

    Test for, get, or remove an annotation

    Definition Classes
    Annotatable
  91. def hasBridgeAnnotation: Boolean

    Definition Classes
    Symbol
  92. def hasCompleteInfo: Boolean

    Definition Classes
    Symbol
  93. def hasContravariantFlag: Boolean

    Definition Classes
    HasFlags
  94. def hasDefault: Boolean

    Definition Classes
    HasFlags
  95. def hasDefaultFlag: Boolean

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

    Does symbol have ANY flag in mask set?

    Does symbol have ANY flag in mask set?

    Definition Classes
    SymbolHasFlags
  97. def hasFlagsToString(mask: Long): String

    The printable representation of this entity's flags and access boundary, restricted to flags in the given mask.

    The printable representation of this entity's flags and access boundary, restricted to flags in the given mask.

    Definition Classes
    SymbolHasFlags
  98. final def hasGetter: Boolean

    Definition Classes
    Symbol
  99. def hasInConstructorFlag: Boolean

    Definition Classes
    HasFlags
  100. def hasLocalFlag: Boolean

    Definition Classes
    HasFlags
  101. 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
  102. def hasMigrationAnnotation: Boolean

    Definition Classes
    Symbol
  103. def hasModifier(mod: Modifier): Boolean

    !!! The logic after "hasFlag" is far too opaque to be unexplained.

    !!! The logic after "hasFlag" is far too opaque to be unexplained. I'm guessing it's attempting to compensate for flag overloading, and embedding such logic in an undocumented island like this is a notarized guarantee of future breakage.

    Definition Classes
    Symbol → AbsSymbol
  104. def hasModuleFlag: Boolean

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

    Whether this entity has NONE of the flags in the given mask.

    Whether this entity has NONE of the flags in the given mask.

    Definition Classes
    HasFlags
  106. def hasPackageFlag: Boolean

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

    Definition Classes
    Symbol
  108. def hasPreSuperFlag: Boolean

    Definition Classes
    HasFlags
  109. def hasRawInfo: Boolean

    Definition Classes
    Symbol
  110. def hasStableFlag: Boolean

    Definition Classes
    HasFlags
  111. def hasStaticFlag: Boolean

    Definition Classes
    HasFlags
  112. def hasTraitFlag: Boolean

    Definition Classes
    HasFlags
  113. 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
  114. final def hasTypeAt(pid: Int): Boolean

    Was symbol's type updated during given phase?

    Was symbol's type updated during given phase?

    Definition Classes
    Symbol
  115. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  116. val id: Int

    Definition Classes
    Symbol → AbsSymbol
  117. final def idString: String

    If settings.

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

    Definition Classes
    Symbol
  118. final def implClass: Symbol

    The implementation class of a trait.

    The implementation class of a trait. If available it will be the symbol with the same owner, and the name of this symbol with $class appended to it.

    Definition Classes
    Symbol
  119. def implicitNotFoundMsg: Option[String]

    Definition Classes
    Symbol
  120. 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
    SynchronizedSymbolSymbol
  121. final def infoString(tp: Type): String

    String representation of symbol's definition following its name

    String representation of symbol's definition following its name

    Definition Classes
    Symbol
  122. def info_=(info: Type): Unit

    Definition Classes
    SynchronizedSymbolSymbol
  123. def infosString: String

    Definition Classes
    SynchronizedSymbolSymbol
  124. def initFlags(mask: Long): SynchronizedSymbol.this.type

    Set the symbol's flags to the given value, asserting that the previous value was 0.

    Set the symbol's flags to the given value, asserting that the previous value was 0.

    Definition Classes
    Symbol
  125. final def initialize: SynchronizedSymbol.this.type

    Initialize the symbol

    Initialize the symbol

    Definition Classes
    Symbol
  126. final def isAbstractClass: Boolean

    Definition Classes
    Symbol
  127. def isAbstractOverride: Boolean

    Definition Classes
    HasFlags
  128. def isAbstractType: Boolean

    Definition Classes
    Symbol → AbsSymbol
  129. def isAliasType: Boolean

    Definition Classes
    Symbol → AbsSymbol
  130. final def isAnonOrRefinementClass: Boolean

    Definition Classes
    Symbol
  131. final def isAnonymousClass: Boolean

    Definition Classes
    Symbol
  132. final def isAnonymousFunction: Boolean

    Definition Classes
    Symbol
  133. def isAnyOverride: Boolean

    Definition Classes
    HasFlags
  134. final 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?

    Definition Classes
    Symbol
  135. def isBottomClass: Boolean

    Definition Classes
    Symbol
  136. final def isBridge: Boolean

    Definition Classes
    Symbol
  137. def isByNameParam: Boolean

    Definition Classes
    HasFlags
  138. final def isCapturedVariable: Boolean

    Definition Classes
    Symbol
  139. def isCase: Boolean

    Definition Classes
    HasFlags
  140. def isCaseAccessor: Boolean

    Definition Classes
    HasFlags
  141. def isCaseAccessorMethod: Boolean

    Definition Classes
    Symbol
  142. final 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?

    Definition Classes
    Symbol
  143. def isCaseClass: Boolean

    Definition Classes
    Symbol
  144. def isClass: Boolean

    Definition Classes
    Symbol → AbsSymbol
  145. final def isClassConstructor: Boolean

    Definition Classes
    Symbol
  146. final def isClassLocalToConstructor: Boolean

    Definition Classes
    Symbol
  147. def isClearing(f: Long, mask: Long): Boolean

    Attributes
    protected
    Definition Classes
    HasFlags
  148. 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
  149. final def isConcreteClass: Boolean

    Definition Classes
    Symbol
  150. final def isConstant: Boolean

    Is this symbol a constant?

    Is this symbol a constant?

    Definition Classes
    Symbol
  151. final def isConstructor: Boolean

    Definition Classes
    Symbol
  152. final def isContravariant: Boolean

    Definition Classes
    Symbol
  153. final def isCovariant: Boolean

    Definition Classes
    Symbol
  154. def isDefaultInit: Boolean

    Definition Classes
    HasFlags
  155. def isDeferred: Boolean

    Definition Classes
    HasFlags
  156. final def isDefinedInPackage: Boolean

    Definition Classes
    Symbol
  157. def isDeprecated: Boolean

    Definition Classes
    Symbol
  158. final def isEarlyInitialized: Boolean

    Definition Classes
    Symbol
  159. def isEffectiveRoot: Boolean

    Is this symbol an effective root for fullname string?

    Is this symbol an effective root for fullname string?

    Definition Classes
    Symbol
  160. final def isEffectivelyFinal: Boolean

    Is this symbol effectively final? I.

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

    Definition Classes
    Symbol
  161. final def isEmptyPackage: Boolean

    Package tests

    Package tests

    Definition Classes
    Symbol
  162. final def isEmptyPackageClass: Boolean

    Definition Classes
    Symbol
  163. def isEmptyPrefix: Boolean

    Definition Classes
    Symbol
  164. final def isErroneous: Boolean

    Definition Classes
    Symbol
  165. final def isError: Boolean

    Definition Classes
    Symbol
  166. final def isExistentialQuantified: Boolean

    Definition Classes
    Symbol
  167. final def isExistentialSkolem: Boolean

    Definition Classes
    Symbol
  168. final def isExistentiallyBound: Boolean

    Definition Classes
    Symbol
  169. def isFBounded: Boolean

    Definition Classes
    Symbol
  170. def isFinal: Boolean

    Definition Classes
    HasFlags
  171. final def isGetter: Boolean

    Definition Classes
    Symbol
  172. final def isHigherOrderTypeParameter: Boolean

    Definition Classes
    Symbol
  173. final def isImplClass: Boolean

    Definition Classes
    Symbol
  174. final 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?

    Definition Classes
    Symbol
  175. def isImplicit: Boolean

    Definition Classes
    HasFlags
  176. def isInDefaultNamespace: Boolean

    Definition Classes
    Symbol
  177. final 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

    ...

    Definition Classes
    Symbol
  178. final def isInitialized: Boolean

    Definition Classes
    Symbol
  179. final def isInitializedToDefault: Boolean

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

    Definition Classes
    Any
  181. def isInterface: Boolean

    Definition Classes
    HasFlags
  182. final def isInterpreterWrapper: Boolean

    Does this symbol denote a wrapper created by the repl?

    Does this symbol denote a wrapper created by the repl?

    Definition Classes
    Symbol
  183. def isJavaDefined: Boolean

    Definition Classes
    HasFlags
  184. final def isJavaInterface: Boolean

    Definition Classes
    Symbol
  185. def isLabel: Boolean

    Definition Classes
    HasFlags
  186. def isLazy: Boolean

    Definition Classes
    HasFlags
  187. final def isLazyAccessor: Boolean

    Definition Classes
    Symbol
  188. final 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.

    Definition Classes
    Symbol
  189. def isLessAccessibleThan(other: Symbol): Boolean

    Definition Classes
    Symbol
  190. def isLifted: Boolean

    Definition Classes
    HasFlags
  191. def isLiftedMethod: Boolean

    Definition Classes
    Symbol
  192. final def isLocal: Boolean

    Is this symbol locally defined? I.

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

    Definition Classes
    Symbol
  193. final 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
    Definition Classes
    Symbol
  194. final def isLocalDummy: Boolean

    Definition Classes
    Symbol
  195. def isMacro: Boolean

    Definition Classes
    Symbol
  196. def isMemberOf(clazz: Symbol): Boolean

    Is this symbol a member of class clazz?

    Is this symbol a member of class clazz?

    Definition Classes
    Symbol
  197. final def isMethod: Boolean

    Definition Classes
    Symbol
  198. final def isMixinConstructor: Boolean

    Definition Classes
    Symbol
  199. final def isModule: Boolean

    Definition Classes
    Symbol
  200. final def isModuleClass: Boolean

    Definition Classes
    Symbol
  201. final 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.

    Definition Classes
    Symbol
  202. final 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.

    Definition Classes
    Symbol
  203. def isMutable: Boolean

    Definition Classes
    HasFlags
  204. final 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)?

    Definition Classes
    Symbol
  205. final 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

    Definition Classes
    Symbol
  206. def isNonBottomSubClass(that: Symbol): Boolean

    Is this class symbol a subclass of that symbol, and is this class symbol also different from Null or Nothing?

    Is this class symbol a subclass of that symbol, and is this class symbol also different from Null or Nothing?

    Definition Classes
    Symbol
  207. def isNonClassType: Boolean

    Is this symbol a type but not a class?

    Is this symbol a type but not a class?

    Definition Classes
    Symbol
  208. final def isNumericSubClass(that: Symbol): Boolean

    Definition Classes
    Symbol
  209. final def isNumericValueClass: Boolean

    Definition Classes
    Symbol
  210. final def isOmittablePrefix: 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.

    Definition Classes
    Symbol
  211. final def isOuterAccessor: Boolean

    Is this symbol an accessor method for outer?

    Is this symbol an accessor method for outer?

    Definition Classes
    Symbol
  212. final def isOuterField: Boolean

    Is this symbol an accessor method for outer?

    Is this symbol an accessor method for outer?

    Definition Classes
    Symbol
  213. final def isOverloaded: Boolean

    Definition Classes
    Symbol
  214. final def isOverridableMember: Boolean

    Definition Classes
    Symbol
  215. def isOverride: Boolean

    Definition Classes
    HasFlags
  216. def isOverridingSymbol: Boolean

    Equivalent to allOverriddenSymbols.

    Equivalent to allOverriddenSymbols.nonEmpty, but more efficient.

    Definition Classes
    Symbol
  217. final def isPackage: Boolean

    Definition Classes
    Symbol
  218. final def isPackageClass: Boolean

    Definition Classes
    Symbol
  219. final def isPackageObject: Boolean

    Definition Classes
    Symbol
  220. final def isPackageObjectClass: Boolean

    Definition Classes
    Symbol
  221. final def isPackageObjectOrClass: Boolean

    Definition Classes
    Symbol
  222. def isParamAccessor: Boolean

    Definition Classes
    HasFlags
  223. def isParameter: Boolean

    Definition Classes
    HasFlags
  224. final def isPossibleInRefinement: Boolean

    Definition Classes
    Symbol
  225. final 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?

    Definition Classes
    Symbol
  226. def isPrivate: Boolean

    Definition Classes
    HasFlags
  227. def isPrivateLocal: Boolean

    Definition Classes
    HasFlags
  228. def isProtected: Boolean

    Definition Classes
    HasFlags
  229. def isProtectedLocal: Boolean

    Definition Classes
    HasFlags
  230. def isPublic: Boolean

    Definition Classes
    HasFlags
  231. final def isRefinementClass: Boolean

    Definition Classes
    Symbol
  232. final def isRoot: Boolean

    Definition Classes
    Symbol
  233. final def isRootPackage: Boolean

    Definition Classes
    Symbol
  234. def isSealed: Boolean

    Definition Classes
    HasFlags
  235. def isSerializable: Boolean

    Definition Classes
    Symbol
  236. final def isSetter: Boolean

    Definition Classes
    Symbol
  237. def isSetterParameter: Boolean

    Definition Classes
    Symbol
  238. def isSetting(f: Long, mask: Long): Boolean

    Attributes
    protected
    Definition Classes
    HasFlags
  239. def isSingletonExistential: Boolean

    Definition Classes
    Symbol
  240. final def isSourceMethod: Boolean

    Definition Classes
    Symbol
  241. final def isStable: Boolean

    Does this symbol denote a stable value?

    Does this symbol denote a stable value?

    Definition Classes
    Symbol
  242. final def isStableClass: Boolean

    Definition Classes
    Symbol
  243. final def isStatic: Boolean

    Is this symbol static (i.

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

    Definition Classes
    Symbol
  244. final def isStaticConstructor: Boolean

    Is this symbol a static constructor?

    Is this symbol a static constructor?

    Definition Classes
    Symbol
  245. final 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?)

    Definition Classes
    Symbol
  246. final def isStaticModule: Boolean

    Definition Classes
    Symbol
  247. final def isStaticOwner: Boolean

    Does this symbol denote a class that defines static symbols?

    Does this symbol denote a class that defines static symbols?

    Definition Classes
    Symbol
  248. def isStrictFP: Boolean

    Definition Classes
    Symbol
  249. final 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?

    Definition Classes
    Symbol
  250. final def isStructuralRefinementMember: Boolean

    Definition Classes
    Symbol
  251. def isSubClass(that: Symbol): Boolean

    Overridden in NullClass and NothingClass for custom behavior.

    Overridden in NullClass and NothingClass for custom behavior.

    Definition Classes
    Symbol
  252. def isSuperAccessor: Boolean

    Definition Classes
    HasFlags
  253. def isSynthetic: Boolean

    Definition Classes
    HasFlags
  254. def isTerm: Boolean

    Definition Classes
    Symbol → AbsSymbol
  255. final def isThisSym: Boolean

    Definition Classes
    Symbol
  256. final def isTrait: Boolean

    Definition Classes
    SymbolHasFlags
  257. def isType: Boolean

    Definition Classes
    Symbol → AbsSymbol
  258. final def isTypeParameter: Boolean

    Definition Classes
    Symbol
  259. final def isTypeParameterOrSkolem: Boolean

    Definition Classes
    Symbol
  260. final def isTypeSkolem: Boolean

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

    Was symbol's type updated during given phase?

    Was symbol's type updated during given phase?

    Definition Classes
    Symbol
  262. final 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.

    Definition Classes
    Symbol
  263. final def isValueClass: Boolean

    Definition Classes
    Symbol
  264. final def isValueParameter: Boolean

    Definition Classes
    Symbol
  265. final def isVarargsMethod: Boolean

    Definition Classes
    Symbol
  266. final def isVariable: Boolean

    Definition Classes
    Symbol
  267. final def isWeakSubClass(that: Symbol): Boolean

    Definition Classes
    Symbol
  268. def javaBinaryName: String

    Definition Classes
    Symbol
  269. def javaClassName: String

    Definition Classes
    Symbol
  270. def javaSimpleName: String

    These should be moved somewhere like JavaPlatform.

    These should be moved somewhere like JavaPlatform.

    Definition Classes
    Symbol
  271. final def keyString: String

    String representation of symbol's definition key word

    String representation of symbol's definition key word

    Definition Classes
    Symbol
  272. final def kindString: String

    Definition Classes
    Symbol
  273. def lazyAccessor: Symbol

    For a lazy value, its lazy accessor.

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

    Definition Classes
    Symbol
  274. 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
  275. final 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$

    Definition Classes
    Symbol
  276. 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
  277. 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
  278. final def makeNotPrivate(base: Symbol): Unit

    Remove private modifier from symbol syms definition.

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

    Definition Classes
    Symbol
  279. def makePublic: Symbol

    Remove any access boundary and clear flags PROTECTED | PRIVATE.

    Remove any access boundary and clear flags PROTECTED | PRIVATE.

    Definition Classes
    Symbol
  280. 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
  281. final 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.

    Definition Classes
    Symbol
  282. final 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

    Definition Classes
    Symbol
  283. def migrationMessage: Option[String]

    Definition Classes
    Symbol
  284. def migrationVersion: Option[String]

    Definition Classes
    Symbol
  285. 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
  286. def modifiers: Set[Modifier]

    Definition Classes
    Symbol → AbsSymbol
  287. def modifyInfo(f: (Type) ⇒ Type): SynchronizedSymbol.this.type

    Modifies this symbol's info in place.

    Modifies this symbol's info in place.

    Definition Classes
    Symbol
  288. def moduleClass: Symbol

    The module class corresponding to this module.

    The module class corresponding to this module.

    Definition Classes
    Symbol → AbsSymbol
  289. def moduleSuffix: String

    Definition Classes
    Symbol
  290. def name: Name

    Definition Classes
    Symbol → AbsSymbol
  291. 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. If settings.Yshowsymkinds, adds abbreviated symbol kind.

    Definition Classes
    Symbol
  292. def name_=(x: Name): Unit

    Definition Classes
    SynchronizedSymbolSymbol
  293. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  294. final def needsFlatClasses: Boolean

    Definition Classes
    Symbol
  295. final def needsImplClass: Boolean

    Is this symbol a trait which needs an implementation class?

    Is this symbol a trait which needs an implementation class?

    Definition Classes
    Symbol
  296. def needsModuleSuffix: Boolean

    Whether this symbol needs nme.

    Whether this symbol needs nme.MODULE_SUFFIX_STRING (aka $) appended on the java platform.

    Definition Classes
    Symbol
  297. final def newAbstractType(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): Symbol

    Symbol of an abstract type type T >: .

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

    Definition Classes
    Symbol
  298. def newAbstractTypeSymbol(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): AbstractTypeSymbol

    Definition Classes
    SynchronizedSymbolSymbol
  299. final def newAliasType(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): Symbol

    Symbol of a type definition type T = .

    Symbol of a type definition type T = ...

    Definition Classes
    Symbol
  300. def newAliasTypeSymbol(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): AliasTypeSymbol

    Definition Classes
    SynchronizedSymbolSymbol
  301. final def newAnonymousClass(pos: Position): ClassSymbol

    Definition Classes
    Symbol
  302. final def newAnonymousFunctionClass(pos: Position, newFlags: Long = 0L): ClassSymbol

    Definition Classes
    Symbol
  303. final def newAnonymousFunctionValue(pos: Position, newFlags: Long = 0L): TermSymbol

    Definition Classes
    Symbol
  304. final def newClass(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): ClassSymbol

    Definition Classes
    Symbol
  305. def newClassConstructor(pos: Position): MethodSymbol

    Instance constructor with info set.

    Instance constructor with info set.

    Definition Classes
    Symbol
  306. def newClassSymbol(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): ClassSymbol

    Definition Classes
    SynchronizedSymbolSymbol
  307. def newClassWithInfo(name: TypeName, parents: List[Type], scope: Scope, pos: Position = NoPosition, newFlags: Long = 0L): ClassSymbol

    A new class with its info set to a ClassInfoType with given scope and parents.

    A new class with its info set to a ClassInfoType with given scope and parents.

    Definition Classes
    Symbol
  308. final def newConstructor(pos: Position, newFlags: Long = 0L): MethodSymbol

    Propagates ConstrFlags (JAVA, specifically) from owner to constructor.

    Propagates ConstrFlags (JAVA, specifically) from owner to constructor.

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

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

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

    Definition Classes
    Symbol
  312. final def newExistential(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): Symbol

    Definition Classes
    Symbol
  313. def newExistentialSkolem(basis: Symbol, origin: AnyRef): TypeSkolem

    Create a new existential type skolem with this symbol its owner, based on the given symbol and origin.

    Create a new existential type skolem with this symbol its owner, based on the given symbol and origin.

    Definition Classes
    Symbol
  314. final 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)

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

    Definition Classes
    Symbol
  316. final def newLabel(name: TermName, pos: Position = NoPosition): MethodSymbol

    Definition Classes
    Symbol
  317. def newLinkedModule(clazz: Symbol, newFlags: Long = 0L): ModuleSymbol

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

    Create local dummy for template (owner of local blocks)

    Create local dummy for template (owner of local blocks)

    Definition Classes
    Symbol
  319. final def newMethod(name: TermName, pos: Position = NoPosition, newFlags: Long = 0L): MethodSymbol

    Definition Classes
    Symbol
  320. def newMethodSymbol(name: TermName, pos: Position = NoPosition, newFlags: Long = 0L): MethodSymbol

    Definition Classes
    SynchronizedSymbolSymbol
  321. final def newModule(name: TermName, pos: Position = NoPosition, newFlags: Long = 0L): ModuleSymbol

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

    Definition Classes
    Symbol
  323. def newModuleClassSymbol(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): ModuleClassSymbol

    Definition Classes
    SynchronizedSymbolSymbol
  324. def newModuleSymbol(name: TermName, pos: Position = NoPosition, newFlags: Long = 0L): ModuleSymbol

    Definition Classes
    SynchronizedSymbolSymbol
  325. def newNestedSymbol(name: Name, pos: Position, newFlags: Long): Symbol

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  326. final 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)

    Definition Classes
    Symbol
  327. final def newPackage(name: TermName, pos: Position = NoPosition, newFlags: Long = 0L): ModuleSymbol

    Definition Classes
    Symbol
  328. final 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

    Definition Classes
    Symbol
  329. def newStaticConstructor(pos: Position): MethodSymbol

    Static constructor with info set.

    Static constructor with info set.

    Definition Classes
    Symbol
  330. def newSyntheticTypeParam(name: String, newFlags: Long): Symbol

    Definition Classes
    Symbol
  331. def newSyntheticTypeParam(): Symbol

    Definition Classes
    Symbol
  332. def newSyntheticTypeParams(num: Int): List[Symbol]

    Definition Classes
    Symbol
  333. final 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.

    Definition Classes
    Symbol
  334. final 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.

    Definition Classes
    Symbol
  335. final 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

    Definition Classes
    Symbol
  336. def newTermSymbol(name: TermName, pos: Position = NoPosition, newFlags: Long = 0L): TermSymbol

    Direct symbol factories.

    Direct symbol factories. For internal use; these are unlikely to be what you want.

    Definition Classes
    SynchronizedSymbolSymbol
  337. final def newThisSym(pos: Position): TermSymbol

    Definition Classes
    Symbol
  338. final def newTypeParameter(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): Symbol

    Symbol of a type parameter

    Symbol of a type parameter

    Definition Classes
    Symbol
  339. final 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.

    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.

    Definition Classes
    Symbol
  340. def newTypeSkolemSymbol(name: TypeName, origin: AnyRef, pos: Position = NoPosition, newFlags: Long = 0L): TypeSkolem

    Definition Classes
    SynchronizedSymbolSymbol
  341. def newTypeSymbol(name: TypeName, pos: Position = NoPosition, newFlags: Long = 0L): TypeSymbol

    Derive whether it is an abstract type from the flags; after creation the DEFERRED flag will be ignored.

    Derive whether it is an abstract type from the flags; after creation the DEFERRED flag will be ignored.

    Definition Classes
    Symbol
  342. final def newValue(name: TermName, pos: Position = NoPosition, newFlags: Long = 0L): TermSymbol

    Definition Classes
    Symbol
  343. final def newValueParameter(name: TermName, pos: Position = NoPosition, newFlags: Long = 0L): TermSymbol

    Definition Classes
    Symbol
  344. final def newVariable(name: TermName, pos: Position = NoPosition, newFlags: Long = 0L): TermSymbol

    Definition Classes
    Symbol
  345. def nextOverriddenSymbol: Symbol

    Equivalent to allOverriddenSymbols.

    Equivalent to allOverriddenSymbols.head (or NoSymbol if no overrides) but more efficient.

    Definition Classes
    Symbol
  346. final def notify(): Unit

    Definition Classes
    AnyRef
  347. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  348. def orElse[T](alt: ⇒ Symbol): Symbol

    Definition Classes
    Symbol
  349. 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
    Note

    This method is NOT available in the presentation compiler run. The originalOwner map is not populated for memory considerations (the symbol may hang on to lazy types and in turn to whole (outdated) compilation units.

  350. 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

  351. def originalOwnerChain: List[Symbol]

    Definition Classes
    Symbol
  352. final def outerClass: Symbol

    The class that is logically an outer class of given clazz.

    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.

    Definition Classes
    Symbol
  353. 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
  354. final 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.

    ofclazz

    is a base class of this symbol's owner.

    Definition Classes
    Symbol
  355. final def overridingSymbol(ofclazz: Symbol): Symbol

    The symbol overriding this symbol in given subclass ofclazz.

    The symbol overriding this symbol in given subclass ofclazz.

    ofclazz

    is a subclass of this symbol's owner

    Definition Classes
    Symbol
  356. def owner: Symbol

    Definition Classes
    Symbol → AbsSymbol
  357. def ownerChain: List[Symbol]

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

    Definition Classes
    SynchronizedSymbolSymbol
  359. def ownersIterator: Iterator[Symbol]

    Definition Classes
    Symbol
  360. def ownsString: String

    String representation of location.

    String representation of location.

    Definition Classes
    Symbol
  361. def paramPos: Int

    The sequence number of this parameter symbol among all type and value parameters of symbol's owner.

    The sequence number of this parameter symbol among all type and value parameters of symbol's owner. -1 if symbol does not appear among the parameters of its owner.

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

    The value parameter sections of this symbol.

    The value parameter sections of this symbol.

    Definition Classes
    Symbol
  363. def parentSymbols: List[Symbol]

    Definition Classes
    Symbol
  364. def pos: Position

    Definition Classes
    SynchronizedSymbolSymbol
  365. def primaryConstructor: Symbol

    The primary constructor of a class.

    The primary constructor of a class.

    Definition Classes
    Symbol
  366. def privateWithin: Symbol

    Access level encoding: there are three scala flags (PRIVATE, PROTECTED, and LOCAL) which combine with value privateWithin (the "foo" in private[foo]) to define from where an entity can be accessed.

    Access level encoding: there are three scala flags (PRIVATE, PROTECTED, and LOCAL) which combine with value privateWithin (the "foo" in private[foo]) to define from where an entity can be accessed. The meanings are as follows:

    PRIVATE access restricted to class only. PROTECTED access restricted to class and subclasses only. LOCAL can only be set in conjunction with PRIVATE or PROTECTED. Further restricts access to the same object instance.

    In addition, privateWithin can be used to set a visibility barrier. When set, everything contained in the named enclosing package or class has access. It is incompatible with PRIVATE or LOCAL, but is additive with PROTECTED (i.e. if either the flags or privateWithin allow access, then it is allowed.)

    The java access levels translate as follows:

    java private: hasFlag(PRIVATE) && !hasAccessBoundary java package: !hasFlag(PRIVATE | PROTECTED) && (privateWithin == enclosing package) java protected: hasFlag(PROTECTED) && (privateWithin == enclosing package) java public: !hasFlag(PRIVATE | PROTECTED) && !hasAccessBoundary

    Definition Classes
    SynchronizedSymbolSymbolHasFlags → AbsSymbol
  367. def privateWithin_=(sym: Symbol): Unit

    Definition Classes
    SynchronizedSymbolSymbol
  368. def rawInfo: Type

    Return info without checking for initialization or completing

    Return info without checking for initialization or completing

    Definition Classes
    SynchronizedSymbolSymbol
  369. def rawflags: Long

    Definition Classes
    SynchronizedSymbolSymbol
  370. def rawflags_=(x: FlagsType): Unit

    Definition Classes
    SynchronizedSymbolSymbol
  371. def rawname: Name

    Definition Classes
    SynchronizedSymbolSymbol
  372. def rawowner: Symbol

    Definition Classes
    SynchronizedSymbolSymbol
  373. def removeAnnotation(cls: Symbol): Symbol

    Definition Classes
    Annotatable
  374. def reset(completer: Type): Unit

    Reset symbol to initial state

    Reset symbol to initial state

    Definition Classes
    SynchronizedSymbolSymbol
  375. def resetFlag(mask: Long): SynchronizedSymbol.this.type

    Definition Classes
    Symbol
  376. final def resetFlags(): Unit

    Definition Classes
    Symbol
  377. def sealedDescendants: Set[Symbol]

    Recursively assemble all children of this symbol.

    Recursively assemble all children of this symbol.

    Definition Classes
    Symbol
  378. final 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.

    Definition Classes
    Symbol
  379. def selfType: Type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  380. def setAnnotations(annots: List[AnnotationInfo]): SynchronizedSymbol.this.type

    Definition Classes
    SynchronizedSymbolSymbolAnnotatable
  381. def setAnnotations(annots: AnnotationInfo*): SynchronizedSymbol.this.type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  382. def setFlag(mask: Long): SynchronizedSymbol.this.type

    Definition Classes
    Symbol
  383. def setInfo(info: Type): SynchronizedSymbol.this.type

    Set initial info.

    Set initial info.

    Definition Classes
    Symbol
  384. def setInfoAndEnter(info: Type): SynchronizedSymbol.this.type

    Set the info and enter this symbol into the owner's scope.

    Set the info and enter this symbol into the owner's scope.

    Definition Classes
    Symbol
  385. def setInfoOwnerAdjusted(info: Type): SynchronizedSymbol.this.type

    Definition Classes
    Symbol
  386. def setInternalFlags(flag: Long): SynchronizedSymbol.this.type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  387. final def setNotFlag(flag: Int): Any

    If the given flag is set on this symbol, also set the corresponding notFLAG.

    If the given flag is set on this symbol, also set the corresponding notFLAG. For instance if flag is PRIVATE, the notPRIVATE flag will be set if PRIVATE is currently set.

    Definition Classes
    Symbol
  388. def setPos(pos: Position): SynchronizedSymbol.this.type

    Definition Classes
    SynchronizedSymbolSymbol
  389. def setPrivateWithin(sym: Symbol): SynchronizedSymbol.this.type

    Definition Classes
    Symbol
  390. def setTypeSignature(tpe: Type): SynchronizedSymbol.this.type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  391. final def setter(base: Symbol, hasExpandedName: Boolean): Symbol

    Definition Classes
    Symbol
  392. final 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

    Definition Classes
    Symbol
  393. def signatureString: String

    Definition Classes
    Symbol
  394. final def simpleName: Name

    The simple name of this Symbol

    The simple name of this Symbol

    Definition Classes
    Symbol
  395. final def skipConstructor: Symbol

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

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

    Definition Classes
    Symbol
  396. final def skipPackageObject: Symbol

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

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

    Definition Classes
    Symbol
  397. def sourceFile: AbstractFileType

    Definition Classes
    Symbol
  398. def sourceFile_=(f: AbstractFileType): Unit

    Definition Classes
    Symbol
  399. def sourceModule: Symbol

    The module corresponding to this module class (note that this is not updated when a module is cloned), or NoSymbol if this is not a ModuleClass.

    The module corresponding to this module class (note that this is not updated when a module is cloned), or NoSymbol if this is not a ModuleClass.

    Definition Classes
    Symbol
  400. def sourceModule_=(sym: Symbol): Unit

    Definition Classes
    Symbol
  401. def substInfo(syms0: List[Symbol], syms1: List[Symbol]): SynchronizedSymbol.this.type

    Substitute second list of symbols for first in current info.

    Substitute second list of symbols for first in current info.

    Definition Classes
    Symbol
  402. def suchThat(cond: (Symbol) ⇒ Boolean): Symbol

    Definition Classes
    Symbol
  403. def superClass: Symbol

    The superclass of this class.

    The superclass of this class.

    Definition Classes
    Symbol
  404. final def superSymbol(base: Symbol): Symbol

    The symbol accessed by a super in the definition of this symbol when seen from class base.

    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.

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

    Definition Classes
    AnyRef
  406. final 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

    Definition Classes
    Symbol
  407. def thisPrefix: Type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  408. def thisSym: Symbol

    The self symbol (a TermSymbol) of a class with explicit self type, or else the symbol itself (a TypeSymbol).

    The self symbol (a TermSymbol) of a class with explicit self type, or else the symbol itself (a TypeSymbol).

    WARNING: you're probably better off using typeOfThis, as it's more uniform across classes with and without self variables.

    Example by Paul: scala> trait Foo1 { } scala> trait Foo2 { self => } scala> intp("Foo1").thisSym res0: $r.intp.global.Symbol = trait Foo1

    scala> intp("Foo2").thisSym res1: $r.intp.global.Symbol = value self

    Martin says: The reason thisSym' is this' is so that thisType can be this.thisSym.tpe. It's a trick to shave some cycles off.

    Morale: DO: if (clazz.typeOfThis.typeConstructor ne clazz.typeConstructor) ... DON'T: if (clazz.thisSym ne clazz) ...

    Definition Classes
    Symbol
  409. def thisType: Type

    If symbol is a class, the type this.type in this class, otherwise NoPrefix.

    If symbol is a class, the type this.type in this class, otherwise NoPrefix. We always have: thisType <:< typeOfThis

    Definition Classes
    Symbol
  410. def throwsAnnotations(): List[Symbol]

    Symbols of any @throws annotations on this symbol.

    Symbols of any @throws annotations on this symbol.

    Definition Classes
    Annotatable
  411. final 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. !!! Why?
    Definition Classes
    Symbol
  412. 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
  413. def tpe: Type

    Get type.

    Get type. The type of a symbol is: for a type symbol, the type corresponding to the symbol itself,

    Definition Classes
    Symbol
  414. def tpeHK: Type

    Definition Classes
    Symbol
  415. 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
    Symbol
  416. def typeOfThis: Type

    The type of this in a class, or else the type of the symbol itself.

    The type of this in a class, or else the type of the symbol itself.

    Definition Classes
    Symbol
  417. def typeOfThis_=(tp: Type): Unit

    Definition Classes
    Symbol
  418. 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
    SynchronizedSymbolSymbol
  419. def typeSignature: Type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  420. def typeSignatureIn(site: Type): Type

    Definition Classes
    AbsSymbolImpl → AbsSymbol
  421. 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
  422. 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
  423. def updateInfo(info: Type): Symbol

    Set new info valid from start of this phase.

    Set new info valid from start of this phase.

    Definition Classes
    SynchronizedSymbolSymbol
  424. def validTo: Period

    Definition Classes
    SynchronizedSymbolSymbol
  425. def validTo_=(x: Period): Unit

    Definition Classes
    SynchronizedSymbolSymbol
  426. final def variance: Int

    The variance of this symbol as an integer

    The variance of this symbol as an integer

    Definition Classes
    Symbol
  427. def varianceString: String

    String representation of symbol's variance

    String representation of symbol's variance

    Definition Classes
    Symbol
  428. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  431. final def withAnnotation(annot: AnnotationInfo): Symbol

    Definition Classes
    Annotatable
  432. def withAnnotations(annots: List[AnnotationInfo]): SynchronizedSymbol.this.type

    Definition Classes
    SymbolAnnotatable
  433. def withoutAnnotations: SynchronizedSymbol.this.type

    Definition Classes
    SymbolAnnotatable

Deprecated Value Members

  1. def isAbstract: Boolean

    Definition Classes
    HasFlags
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0)

  2. def newAbstractType(pos: Position, name: TypeName): Symbol

    Definition Classes
    Symbol
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use the other signature

  3. def newAliasType(pos: Position, name: TypeName): Symbol

    Definition Classes
    Symbol
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use the other signature

  4. def newClass(pos: Position, name: TypeName): Symbol

    Definition Classes
    Symbol
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use the other signature

  5. def newExistential(pos: Position, name: TypeName): Symbol

    Definition Classes
    Symbol
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use the other signature

  6. def newLabel(pos: Position, name: TermName): MethodSymbol

    Definition Classes
    Symbol
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use the other signature

  7. def newMethod(pos: Position, name: TermName): MethodSymbol

    Definition Classes
    Symbol
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use the other signature

  8. def newModuleClass(pos: Position, name: TypeName): Symbol

    Definition Classes
    Symbol
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use the other signature

  9. def newValue(pos: Position, name: TermName): TermSymbol

    Definition Classes
    Symbol
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use the other signature

  10. def toplevelClass: Symbol

    Kept for source compatibility with 2.

    Kept for source compatibility with 2.9. Scala IDE for Eclipse relies on this.

    Definition Classes
    Symbol
    Annotations
    @deprecated
    Deprecated

    Use enclosingTopLevelClass

Inherited from Symbol

Inherited from Annotatable[Symbol]

Inherited from HasFlags

Inherited from AbsSymbolImpl

Inherited from AbsSymbol

Inherited from AnyRef

Inherited from Any