scala.reflect.generic.Symbols

AbsSymbol

class AbsSymbol extends AnyRef

attributes: abstract
source: Symbols.scala
Inherited
  1. Hide All
  2. Show all
  1. AnyRef
  2. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new AbsSymbol()

Value Members

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

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  7. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  8. def addAnnotation(annot: AnnotationInfo): Unit

  9. def addChild(sym: Symbol): Unit

  10. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  11. def clone(): AnyRef

    This method creates and returns a copy of the receiver object.

  12. def decodedName: String

    The decoded name of the symbol, e.

  13. def enclClass: Symbol

    The next enclosing class

  14. def enclMethod: Symbol

    The next enclosing method

  15. def encodedName: String

    The name of the symbol before decoding, e.

  16. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  17. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

  18. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  19. def flags: Long

    The flags of this symbol

  20. def flags_=(flags: Long): Unit

  21. def fullName: String

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

  22. def fullName(separator: Char): String

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

  23. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

  24. def hasAllFlags(mask: Long): Boolean

    Does symbol have ALL the flags in mask set?

  25. def hasDefault: Boolean

  26. def hasFlag(mask: Long): Boolean

    Does symbol have ANY flag in mask set?

  27. def hashCode(): Int

    Returns a hash code value for the object.

  28. def info: Type

    The info of the symbol.

  29. def info_=(tp: Type): Unit

  30. def isAbstractClass: Boolean

  31. def isAbstractOverride: Boolean

  32. def isAbstractType: Boolean

  33. def isAliasType: Boolean

  34. def isBridge: Boolean

  35. def isCase: Boolean

  36. def isCaseAccessor: Boolean

  37. def isClass: Boolean

  38. def isContravariant: Boolean

  39. def isCovariant: Boolean

  40. def isDeferred: Boolean

  41. def isEarlyInitialized: Boolean

  42. def isEffectiveRoot: Boolean

    Is this symbol an effective root for fullname string?

  43. def isEmptyPackage: Boolean

    Package tests

  44. def isEmptyPackageClass: Boolean

  45. def isExistentiallyBound: Boolean

  46. def isFinal: Boolean

  47. def isGetterOrSetter: Boolean

  48. def isImplClass: Boolean

  49. def isImplicit: Boolean

  50. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  51. def isInterface: Boolean

  52. def isJavaDefined: Boolean

  53. def isLazy: Boolean

  54. def isMethod: Boolean

  55. def isModule: Boolean

  56. def isModuleClass: Boolean

  57. def isMutable: Boolean

  58. def isOverloaded: Boolean

  59. def isOverride: Boolean

  60. def isPackage: Boolean

  61. def isPackageClass: Boolean

  62. def isParamAccessor: Boolean

  63. def isParameter: Boolean

  64. def isPrivate: Boolean

    Access tests

  65. def isPrivateLocal: Boolean

  66. def isProtected: Boolean

  67. def isProtectedLocal: Boolean

  68. def isPublic: Boolean

  69. def isRefinementClass: Boolean

  70. def isRoot: Boolean

  71. def isRootPackage: Boolean

  72. def isSealed: Boolean

  73. def isSourceMethod: Boolean

  74. def isSuperAccessor: Boolean

  75. def isSynthetic: Boolean

  76. def isTerm: Boolean

  77. def isTrait: Boolean

  78. def isType: Boolean

  79. def isTypeParameter: Boolean

  80. def linkedClassOfClass: Symbol

    For a module class its linked class, for a plain class the module class of its linked module.

  81. def moduleClass: Symbol

    If symbol is an object definition, it's implied associated class, otherwise NoSymbol

  82. def name: Name

    The name of the symbol as a member of the Name type.

  83. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  84. def newAbstractType(name: Name, pos: Position = Symbols.this.NoPosition): Symbol

  85. def newAliasType(name: Name, pos: Position = Symbols.this.NoPosition): Symbol

  86. def newClass(name: Name, pos: Position = Symbols.this.NoPosition): Symbol

  87. def newMethod(name: Name, pos: Position = Symbols.this.NoPosition): Symbol

  88. def newModule(name: Name, clazz: Symbol, pos: Position = Symbols.this.NoPosition): Symbol

  89. def newModuleClass(name: Name, pos: Position = Symbols.this.NoPosition): Symbol

  90. def newValue(name: Name, pos: Position = Symbols.this.NoPosition): Symbol

  91. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  92. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

  93. def owner: Symbol

    The owner of this symbol.

  94. def owner_=(sym: Symbol): Unit

  95. def privateWithin: Symbol

    Set when symbol has a modifier of the form private[X], NoSymbol otherwise.

  96. def privateWithin_=(sym: Symbol): Unit

  97. def rawInfo: Type

    The raw info of the type

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

  99. def sourceModule_=(sym: Symbol): Unit

  100. def synchronized[T0](arg0: T0): T0

  101. def toString(): String

    Returns a string representation of the object.

  102. def tpe: Type

    The type of the symbol

  103. def typeOfThis: Type

    If this symbol is a class or trait, its self type, otherwise the type of the symbol itse;lf

  104. def typeOfThis_=(tp: Type): Unit

  105. def wait(): Unit

  106. def wait(arg0: Long, arg1: Int): Unit

  107. def wait(arg0: Long): Unit