scala.tools.nsc

ReflectGlobal

class ReflectGlobal extends Global with ReflectSetup with SymbolTable

A version of Global that uses reflection to get class infos, instead of reading class or source files.

Source
ReflectGlobal.scala
Linear Supertypes
SymbolTable, SynchronizedOps, SynchronizedTypes, SynchronizedSymbols, SymbolLoaders, JavaMirrors, JavaUniverse, TagInterop, ReflectSetup, Global, Positions, DocComments, TreePrinters, Trees, PhaseAssembly, Plugins, CompilationUnits, SymbolTable, SymbolTable, BuildUtils, StdCreators, StdAttachments, CapturedVariables, Required, Importers, TypeDebugging, Positions, TreePrinters, Trees, AnnotationCheckers, AnnotationInfos, StdNames, Transforms, InfoTransformers, BaseTypeSeqs, Constants, Definitions, Mirrors, Scopes, FlagSets, ExistentialsAndSkolems, Kinds, Types, Symbols, Names, Collections, Universe, Universe, AnnotationInfos, Exprs, Importers, StandardNames, StandardDefinitions, Mirrors, Positions, Constants, TreePrinters, Trees, Names, FlagSets, Types, Symbols, Universe, Mirrors, BuildUtils, StandardNames, StandardDefinitions, StandardTypes, TagInterop, TypeTags, Positions, AnnotationInfos, Constants, Trees, Names, Scopes, FlagSets, Types, Symbols, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReflectGlobal
  2. SymbolTable
  3. SynchronizedOps
  4. SynchronizedTypes
  5. SynchronizedSymbols
  6. SymbolLoaders
  7. JavaMirrors
  8. JavaUniverse
  9. TagInterop
  10. ReflectSetup
  11. Global
  12. Positions
  13. DocComments
  14. TreePrinters
  15. Trees
  16. PhaseAssembly
  17. Plugins
  18. CompilationUnits
  19. SymbolTable
  20. SymbolTable
  21. BuildUtils
  22. StdCreators
  23. StdAttachments
  24. CapturedVariables
  25. Required
  26. Importers
  27. TypeDebugging
  28. Positions
  29. TreePrinters
  30. Trees
  31. AnnotationCheckers
  32. AnnotationInfos
  33. StdNames
  34. Transforms
  35. InfoTransformers
  36. BaseTypeSeqs
  37. Constants
  38. Definitions
  39. Mirrors
  40. Scopes
  41. FlagSets
  42. ExistentialsAndSkolems
  43. Kinds
  44. Types
  45. Symbols
  46. Names
  47. Collections
  48. Universe
  49. Universe
  50. AnnotationInfos
  51. Exprs
  52. Importers
  53. StandardNames
  54. StandardDefinitions
  55. Mirrors
  56. Positions
  57. Constants
  58. TreePrinters
  59. Trees
  60. Names
  61. FlagSets
  62. Types
  63. Symbols
  64. Universe
  65. Mirrors
  66. BuildUtils
  67. StandardNames
  68. StandardDefinitions
  69. StandardTypes
  70. TagInterop
  71. TypeTags
  72. Positions
  73. AnnotationInfos
  74. Constants
  75. Trees
  76. Names
  77. Scopes
  78. FlagSets
  79. Types
  80. Symbols
  81. AnyRef
  82. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReflectGlobal(currentSettings: Settings, reporter: Reporter, rootClassLoader: ClassLoader)

Type Members

  1. type AbstractFileType = AbstractFile

    Definition Classes
    Global → Required
  2. case class ChangeAfterPhase[+T](ph: Phase, lost: List[T], gained: List[T]) extends Product with Serializable

  3. class CompactTreePrinter extends TreePrinter

    A tree printer which is stingier about vertical whitespace and unnecessary punctuation than the standard one.

  4. class CompilationUnit extends AnyRef

    One unit of compilation that has been submitted to the compiler.

  5. class ConditionalWarning extends AnyRef

    Collects for certain classes of warnings during this run.

  6. class DependencyGraph extends AnyRef

    Aux datastructure for solving the constraint system The depency graph container with helper methods for node and edge creation

  7. case class DocComment(raw: String, pos: Position, codePos: Position) extends Product with Serializable

  8. case class DocDef(comment: DocComment, definition: Tree) extends Tree with Product with Serializable

    Documented definition, eliminated by analyzer

  9. class ExpansionLimitExceeded extends Exception

  10. type FlagSet = Long

    Definition Classes
    FlagSets → FlagSets
  11. class GlobalMirror extends Roots

  12. abstract class GlobalPhase extends Phase

  13. case class InjectDerivedValue(arg: Tree) extends Tree with SymTree with Product with Serializable

    Derived value class injection (equivalent to: new C(arg) after easure); only used during erasure The class C is stored as the symbol of the tree node.

  14. class LazyTreeCopier extends LazyTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  15. type MethodSymbolApi = MethodSymbolBase

    Definition Classes
    Symbols
  16. type Mirror = JavaMirror

    Definition Classes
    JavaMirrors → JavaUniverse → Mirrors → Mirrors
  17. type ModuleSymbolApi = ModuleSymbolBase

    Definition Classes
    Symbols
  18. type OptClassPath = Option[PlatformClassPath]

    Definition Classes
    Global
  19. case class Parens(args: List[Tree]) extends Tree with Product with Serializable

    Only used during parsing

  20. type Period = Int

    Definition Classes
    SymbolTable
  21. type PlatformClassPath = ClassPath[BinaryRepr]

    Definition Classes
    Global
  22. type Position = Position

    Definition Classes
    Positions → Positions → Positions
  23. class PostfixSelect extends Select

  24. class Run extends AnyRef

    A Run is a single execution of the compiler on a sets of units

  25. type RunId = Int

    Definition Classes
    SymbolTable
  26. type RuntimeClass = Class[_]

    Definition Classes
    JavaMirrors → JavaUniverse → Mirrors
  27. class SafeTreePrinter extends TreePrinter

    This must guarantee not to force any evaluation, so we can learn a little bit about trees in the midst of compilation without altering the natural course of events.

  28. case class SelectFromArray(qualifier: Tree, name: Name, erasure: Type) extends Tree with TermTree with RefTree with Product with Serializable

    Array selection <qualifier> .

  29. class StrictTreeCopier extends StrictTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  30. type ThisPlatform = Platform { val global: ReflectGlobal.this.type }

    Definition Classes
    Global
  31. class Transformer extends Transformer

    Definition Classes
    Trees → Trees
  32. trait TreeCopier extends TreeCopierOps

    Definition Classes
    Trees → Trees
  33. type TreeGen = TreeGen

    Generate ASTs

    Generate ASTs

    Definition Classes
    Global
  34. class TreeMatchTemplate extends AnyRef

  35. class TreePrinter extends TreePrinter

    Definition Classes
    TreePrinters → TreePrinters → TreePrinters
  36. case class TypeTreeWithDeferredRefCheck(check: () ⇒ TypeTree) extends Tree with TypTree with Product with Serializable

    emitted by typer, eliminated by refchecks

  37. case class UseCase(comment: DocComment, body: String, pos: Position) extends Product with Serializable

  38. class ValidatingPosAssigner extends Traverser with PosAssigner

  39. abstract type _73.type <: Erasure { val global: ReflectGlobal.this.type } with Singleton

    Definition Classes
    Transforms

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ReflectGlobal, B)

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to ArrowAssoc[ReflectGlobal] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. implicit val AlternativeTag: ClassTag[Alternative]

    Definition Classes
    Trees → Trees
  9. implicit val AnnotatedTag: ClassTag[Annotated]

    Definition Classes
    Trees → Trees
  10. implicit val AnnotatedTypeTag: ClassTag[AnnotatedType]

    Definition Classes
    Types → Types
  11. implicit val AnnotationInfoTag: ClassTag[AnnotationInfo]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  12. lazy val AnyRefTpe: Type

    Definition Classes
    Definitions → StandardTypes
  13. lazy val AnyTpe: Type

    Definition Classes
    Definitions → StandardTypes
  14. lazy val AnyValTpe: Type

    Definition Classes
    Definitions → StandardTypes
  15. implicit val AppliedTypeTreeTag: ClassTag[AppliedTypeTree]

    Definition Classes
    Trees → Trees
  16. def Apply(sym: Symbol, args: Tree*): Tree

    Definition Classes
    Trees → Trees
  17. def ApplyConstructor(tpt: Tree, args: List[Tree]): Apply

    Definition Classes
    Trees → Trees
  18. implicit val ApplyDynamicTag: ClassTag[ApplyDynamic]

    Definition Classes
    Trees → Trees
  19. implicit val ApplyTag: ClassTag[Apply]

    Definition Classes
    Trees → Trees
  20. implicit val ArrayAnnotArgTag: ClassTag[ArrayAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  21. implicit val ArrayValueTag: ClassTag[ArrayValue]

    Definition Classes
    Trees → Trees
  22. implicit val AssignOrNamedArgTag: ClassTag[AssignOrNamedArg]

    Definition Classes
    Trees → Trees
  23. implicit val AssignTag: ClassTag[Assign]

    Definition Classes
    Trees → Trees
  24. def Bind(sym: Symbol, body: Tree): Bind

    Definition Classes
    Trees → Trees
  25. implicit val BindTag: ClassTag[Bind]

    Definition Classes
    Trees → Trees
  26. def Block(stats: Tree*): Block

    Definition Classes
    Trees → Trees
  27. implicit val BlockTag: ClassTag[Block]

    Definition Classes
    Trees → Trees
  28. final val BooleanTag: Int(2)

    Definition Classes
    Constants
  29. lazy val BooleanTpe: Type

    Definition Classes
    Definitions → StandardTypes
  30. implicit val BoundedWildcardTypeTag: ClassTag[BoundedWildcardType]

    Definition Classes
    Types → Types
  31. final val ByteTag: Int(3)

    Definition Classes
    Constants
  32. lazy val ByteTpe: Type

    Definition Classes
    Definitions → StandardTypes
  33. def CaseDef(pat: Tree, body: Tree): CaseDef

    Definition Classes
    Trees → Trees
  34. implicit val CaseDefTag: ClassTag[CaseDef]

    Definition Classes
    Trees → Trees
  35. final val CharTag: Int(5)

    Definition Classes
    Constants
  36. lazy val CharTpe: Type

    Definition Classes
    Definitions → StandardTypes
  37. def ClassDef(sym: Symbol, constrMods: Modifiers, vparamss: List[List[ValDef]], argss: List[List[Tree]], body: List[Tree], superPos: Position): ClassDef

    Construct class definition with given class symbol, value parameters, supercall arguments and template body.

    Construct class definition with given class symbol, value parameters, supercall arguments and template body.

    sym

    the class symbol

    constrMods

    the modifiers for the class constructor, i.e. as in class C private (...)

    vparamss

    the value parameters -- if they have symbols they should be owned by sym

    argss

    the supercall arguments

    body

    the template statements without primary constructor and value parameter fields.

    Definition Classes
    Trees
  38. def ClassDef(sym: Symbol, impl: Template): ClassDef

    Definition Classes
    Trees → Trees
  39. implicit val ClassDefTag: ClassTag[ClassDef]

    Definition Classes
    Trees → Trees
  40. implicit val ClassInfoTypeTag: ClassTag[ClassInfoType]

    Definition Classes
    Types → Types
  41. implicit val ClassSymbolTag: ClassTag[ClassSymbol]

    Definition Classes
    Symbols → Symbols
  42. implicit val ClassfileAnnotArgTag: ClassTag[ClassfileAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  43. final val ClazzTag: Int(12)

    Definition Classes
    Constants
  44. implicit val CompoundTypeTag: ClassTag[CompoundType]

    Definition Classes
    Types → Types
  45. implicit val CompoundTypeTreeTag: ClassTag[CompoundTypeTree]

    Definition Classes
    Trees → Trees
  46. implicit val ConstantTag: ClassTag[Constant]

    Definition Classes
    Constants → Constants
  47. implicit val ConstantTypeTag: ClassTag[ConstantType]

    Definition Classes
    Types → Types
  48. val CyclicInheritance: Throwable

    Definition Classes
    BaseTypeSeqs
  49. def DefDef(sym: Symbol, rhs: (List[List[Symbol]]) ⇒ Tree): DefDef

    Definition Classes
    Trees → Trees
  50. def DefDef(sym: Symbol, rhs: Tree): DefDef

    Definition Classes
    Trees → Trees
  51. def DefDef(sym: Symbol, mods: Modifiers, rhs: Tree): DefDef

    Definition Classes
    Trees → Trees
  52. def DefDef(sym: Symbol, vparamss: List[List[ValDef]], rhs: Tree): DefDef

    Definition Classes
    Trees → Trees
  53. def DefDef(sym: Symbol, mods: Modifiers, vparamss: List[List[ValDef]], rhs: Tree): DefDef

    Definition Classes
    Trees → Trees
  54. implicit val DefDefTag: ClassTag[DefDef]

    Definition Classes
    Trees → Trees
  55. implicit val DefTreeTag: ClassTag[DefTree]

    Definition Classes
    Trees → Trees
  56. final val DoubleTag: Int(9)

    Definition Classes
    Constants
  57. lazy val DoubleTpe: Type

    Definition Classes
    Definitions → StandardTypes
  58. def EmptyPackageClass: ClassSymbol

    Definition Classes
    Global
  59. def EmptyTermName: TermName

    Definition Classes
    Names
  60. lazy val EmptyTreeTypeSubstituter: TreeTypeSubstituter

    Definition Classes
    Trees
  61. def EmptyTypeName: TypeName

    Definition Classes
    Names
  62. final val EnumTag: Int(13)

    Definition Classes
    Constants
  63. implicit val ExistentialTypeTag: ClassTag[ExistentialType]

    Definition Classes
    Types → Types
  64. implicit val ExistentialTypeTreeTag: ClassTag[ExistentialTypeTree]

    Definition Classes
    Trees → Trees
  65. implicit val FlagSetTag: ClassTag[FlagSet]

    Definition Classes
    FlagSets
  66. final val FloatTag: Int(8)

    Definition Classes
    Constants
  67. lazy val FloatTpe: Type

    Definition Classes
    Definitions → StandardTypes
  68. implicit val FreeTermSymbolTag: ClassTag[FreeTermSymbol]

    Definition Classes
    Symbols → Symbols
  69. implicit val FreeTypeSymbolTag: ClassTag[FreeTypeSymbol]

    Definition Classes
    Symbols → Symbols
  70. implicit val FunctionTag: ClassTag[Function]

    Definition Classes
    Trees → Trees
  71. implicit val GenericApplyTag: ClassTag[GenericApply]

    Definition Classes
    Trees → Trees
  72. val GlbFailure: Throwable

    Definition Classes
    Types
  73. def Ident(sym: Symbol): Ident

    Definition Classes
    Trees → Trees
  74. def Ident(name: String): Ident

    Definition Classes
    Trees → Trees
  75. implicit val IdentTag: ClassTag[Ident]

    Definition Classes
    Trees → Trees
  76. implicit val IfTag: ClassTag[If]

    Definition Classes
    Trees → Trees
  77. implicit val ImplDefTag: ClassTag[ImplDef]

    Definition Classes
    Trees → Trees
  78. implicit val ImportSelectorTag: ClassTag[ImportSelector]

    Definition Classes
    Trees → Trees
  79. implicit val ImportTag: ClassTag[Import]

    Definition Classes
    Trees → Trees
  80. final val IntTag: Int(6)

    Definition Classes
    Constants
  81. lazy val IntTpe: Type

    Definition Classes
    Definitions → StandardTypes
  82. def JavaMethodType(params: List[Symbol], resultType: Type): JavaMethodType

    Definition Classes
    Types
  83. def LabelDef(sym: Symbol, params: List[Symbol], rhs: Tree): LabelDef

    Definition Classes
    Trees → Trees
  84. implicit val LabelDefTag: ClassTag[LabelDef]

    Definition Classes
    Trees → Trees
  85. implicit val LiteralAnnotArgTag: ClassTag[LiteralAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  86. implicit val LiteralTag: ClassTag[Literal]

    Definition Classes
    Trees → Trees
  87. final val LongTag: Int(7)

    Definition Classes
    Constants
  88. lazy val LongTpe: Type

    Definition Classes
    Definitions → StandardTypes
  89. implicit val MatchTag: ClassTag[Match]

    Definition Classes
    Trees → Trees
  90. val MaxPhases: Int

    Definition Classes
    Global
  91. implicit val MemberDefTag: ClassTag[MemberDef]

    Definition Classes
    Trees → Trees
  92. implicit val MethodSymbolTag: ClassTag[MethodSymbol]

    Definition Classes
    Symbols → Symbols
  93. implicit val MethodTypeTag: ClassTag[MethodType]

    Definition Classes
    Types → Types
  94. def Modifiers(flags: FlagSet): Modifiers

    Definition Classes
    Trees
  95. def Modifiers(flags: FlagSet, privateWithin: Name): Modifiers

    Definition Classes
    Trees
  96. implicit val ModifiersTag: ClassTag[Modifiers]

    Definition Classes
    Trees → Trees
  97. def ModuleDef(sym: Symbol, impl: Template): ModuleDef

    Definition Classes
    Trees → Trees
  98. implicit val ModuleDefTag: ClassTag[ModuleDef]

    Definition Classes
    Trees → Trees
  99. implicit val ModuleSymbolTag: ClassTag[ModuleSymbol]

    Definition Classes
    Symbols → Symbols
  100. implicit val NameTag: ClassTag[Name]

    Definition Classes
    Names → Names
  101. implicit val NameTreeTag: ClassTag[NameTree]

    Definition Classes
    Trees → Trees
  102. implicit val NestedAnnotArgTag: ClassTag[NestedAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  103. def New(sym: Symbol, args: Tree*): Tree

    Definition Classes
    Trees → Trees
  104. def New(tpe: Type, args: Tree*): Tree

    Definition Classes
    Trees → Trees
  105. def New(tpt: Tree, argss: List[List[Tree]]): Tree

    Definition Classes
    Trees → Trees
  106. implicit val NewTag: ClassTag[New]

    Definition Classes
    Trees → Trees
  107. object NoCompilationUnit extends CompilationUnit

    An object representing a missing compilation unit.

  108. val NoFlags: FlagSet

    Definition Classes
    FlagSets
  109. val NoKindErrors: KindErrors

    Definition Classes
    Kinds
  110. lazy val NoMods: Modifiers

    Definition Classes
    Trees
  111. final val NoPeriod: Int(0)

    Definition Classes
    SymbolTable
  112. val NoPosition: reflect.internal.util.NoPosition.type

    Definition Classes
    Positions → Positions
  113. final val NoRunId: Int(0)

    Definition Classes
    SymbolTable
  114. lazy val NoSymbol: NoSymbol

    Definition Classes
    Symbols → Symbols
  115. final val NoTag: Int(0)

    Definition Classes
    Constants
  116. lazy val NothingTpe: Type

    Definition Classes
    Definitions → StandardTypes
  117. final val NullTag: Int(11)

    Definition Classes
    Constants
  118. lazy val NullTpe: Type

    Definition Classes
    Definitions → StandardTypes
  119. implicit val NullaryMethodTypeTag: ClassTag[NullaryMethodType]

    Definition Classes
    Types → Types
  120. lazy val ObjectTpe: Type

    Definition Classes
    Definitions → StandardTypes
  121. implicit val PackageDefTag: ClassTag[PackageDef]

    Definition Classes
    Trees → Trees
  122. implicit val PolyTypeTag: ClassTag[PolyType]

    Definition Classes
    Types → Types
  123. implicit val PositionTag: ClassTag[Position]

    Definition Classes
    Positions → Positions
  124. implicit val RefTreeTag: ClassTag[RefTree]

    Definition Classes
    Trees → Trees
  125. implicit val ReferenceToBoxedTag: ClassTag[ReferenceToBoxed]

    Definition Classes
    Trees → Trees
  126. implicit val RefinedTypeTag: ClassTag[RefinedType]

    Definition Classes
    Types → Types
  127. implicit val ReturnTag: ClassTag[Return]

    Definition Classes
    Trees → Trees
  128. def RootClass: ClassSymbol

    Definition Classes
    Global
  129. implicit val ScopeTag: ClassTag[Scope]

    Definition Classes
    Scopes → Scopes
  130. def Select(qualifier: Tree, sym: Symbol): Select

    Definition Classes
    Trees → Trees
  131. def Select(qualifier: Tree, name: String): Select

    Definition Classes
    Trees → Trees
  132. implicit val SelectFromTypeTreeTag: ClassTag[SelectFromTypeTree]

    Definition Classes
    Trees → Trees
  133. implicit val SelectTag: ClassTag[Select]

    Definition Classes
    Trees → Trees
  134. final val ShortTag: Int(4)

    Definition Classes
    Constants
  135. lazy val ShortTpe: Type

    Definition Classes
    Definitions → StandardTypes
  136. implicit val SingleTypeTag: ClassTag[SingleType]

    Definition Classes
    Types → Types
  137. implicit val SingletonTypeTag: ClassTag[SingletonType]

    Definition Classes
    Types → Types
  138. implicit val SingletonTypeTreeTag: ClassTag[SingletonTypeTree]

    Definition Classes
    Trees → Trees
  139. implicit val StarTag: ClassTag[Star]

    Definition Classes
    Trees → Trees
  140. final val StringTag: Int(10)

    Definition Classes
    Constants
  141. lazy val StringTpe: Type

    Definition Classes
    Definitions → StandardTypes
  142. def Super(sym: Symbol, mix: TypeName): Tree

    Definition Classes
    Trees → Trees
  143. implicit val SuperTag: ClassTag[Super]

    Definition Classes
    Trees → Trees
  144. implicit val SuperTypeTag: ClassTag[SuperType]

    Definition Classes
    Types → Types
  145. implicit val SymTreeTag: ClassTag[SymTree]

    Definition Classes
    Trees → Trees
  146. implicit val SymbolTag: ClassTag[Symbol]

    Definition Classes
    Symbols → Symbols
  147. def Template(parents: List[Tree], self: ValDef, constrMods: Modifiers, vparamss: List[List[ValDef]], argss: List[List[Tree]], body: List[Tree], superPos: Position): Template

    Generates a template with constructor corresponding to

    Generates a template with constructor corresponding to

    constrmods (vparams1_) ... (vparams_n) preSuper { presupers } extends superclass(args_1) ... (args_n) with mixins { self => body }

    This gets translated to

    extends superclass with mixins { self => presupers' // presupers without rhs vparamss // abstract fields corresponding to value parameters def <init>(vparamss) { presupers super.<init>(args) } body }

    Definition Classes
    Trees
  148. implicit val TemplateTag: ClassTag[Template]

    Definition Classes
    Trees → Trees
  149. implicit val TermNameTag: ClassTag[TermName]

    Definition Classes
    Names → Names
  150. implicit val TermSymbolTag: ClassTag[TermSymbol]

    Definition Classes
    Symbols → Symbols
  151. implicit val TermTreeTag: ClassTag[TermTree]

    Definition Classes
    Trees → Trees
  152. def This(sym: Symbol): Tree

    Definition Classes
    Trees → Trees
  153. implicit val ThisTag: ClassTag[This]

    Definition Classes
    Trees → Trees
  154. implicit val ThisTypeTag: ClassTag[ThisType]

    Definition Classes
    Types → Types
  155. def Throw(tpe: Type, args: Tree*): Throw

    Definition Classes
    Trees → Trees
  156. implicit val ThrowTag: ClassTag[Throw]

    Definition Classes
    Trees → Trees
  157. implicit val TreeTag: ClassTag[Tree]

    Definition Classes
    Trees → Trees
  158. def Try(body: Tree, cases: (Tree, Tree)*): Try

    Definition Classes
    Trees → Trees
  159. implicit val TryTag: ClassTag[Try]

    Definition Classes
    Trees → Trees
  160. implicit val TypTreeTag: ClassTag[TypTree]

    Definition Classes
    Trees → Trees
  161. implicit val TypeApplyTag: ClassTag[TypeApply]

    Definition Classes
    Trees → Trees
  162. implicit val TypeBoundsTag: ClassTag[TypeBounds]

    Definition Classes
    Types → Types
  163. implicit val TypeBoundsTreeTag: ClassTag[TypeBoundsTree]

    Definition Classes
    Trees → Trees
  164. def TypeDef(sym: Symbol): TypeDef

    Definition Classes
    Trees → Trees
  165. def TypeDef(sym: Symbol, rhs: Tree): TypeDef

    Definition Classes
    Trees → Trees
  166. implicit val TypeDefTag: ClassTag[TypeDef]

    Definition Classes
    Trees → Trees
  167. implicit val TypeNameTag: ClassTag[TypeName]

    Definition Classes
    Names → Names
  168. implicit val TypeRefTag: ClassTag[TypeRef]

    Definition Classes
    Types → Types
  169. implicit val TypeSymbolTag: ClassTag[TypeSymbol]

    Definition Classes
    Symbols → Symbols
  170. implicit val TypeTagg: ClassTag[Type]

    Definition Classes
    Types → Types
  171. def TypeTree(tp: Type): TypeTree

    Definition Classes
    Trees → Trees
  172. implicit val TypeTreeTag: ClassTag[TypeTree]

    Definition Classes
    Trees → Trees
  173. implicit val TypedTag: ClassTag[Typed]

    Definition Classes
    Trees → Trees
  174. implicit val UnApplyTag: ClassTag[UnApply]

    Definition Classes
    Trees → Trees
  175. final val UnitTag: Int(1)

    Definition Classes
    Constants
  176. lazy val UnitTpe: Type

    Definition Classes
    Definitions → StandardTypes
  177. def ValDef(sym: Symbol): ValDef

    Definition Classes
    Trees → Trees
  178. def ValDef(sym: Symbol, rhs: Tree): ValDef

    Definition Classes
    Trees → Trees
  179. implicit val ValDefTag: ClassTag[ValDef]

    Definition Classes
    Trees → Trees
  180. implicit val ValOrDefDefTag: ClassTag[ValOrDefDef]

    Definition Classes
    Trees → Trees
  181. def abort(msg: String): Nothing

    Definition Classes
    Global → SymbolTable
  182. def abstractTypesToBounds(tp: Type): Type

    Definition Classes
    Types
  183. def adaptAnnotations(tree: Tree, mode: Int, pt: Type): Tree

    Definition Classes
    AnnotationCheckers
  184. def adaptBoundsToAnnotations(bounds: List[TypeBounds], tparams: List[Symbol], targs: List[Type]): List[TypeBounds]

    Definition Classes
    AnnotationCheckers
  185. def addAnnotationChecker(checker: AnnotationChecker): Unit

    Definition Classes
    AnnotationCheckers
  186. def addAnnotations(tree: Tree, tpe: Type): Type

    Definition Classes
    AnnotationCheckers
  187. implicit def addFlagOps(left: FlagSet): FlagOps

    Definition Classes
    FlagSets → FlagSets
  188. def addMember(thistp: Type, tp: Type, sym: Symbol, depth: Int): Unit

    Definition Classes
    Types
  189. def addMember(thistp: Type, tp: Type, sym: Symbol): Unit

    Definition Classes
    Types
  190. def addSerializable(ps: Type*): List[Type]

    Definition Classes
    Types
  191. def addToPhasesSet(sub: SubComponent, descr: String): Unit

    Attributes
    protected
    Definition Classes
    Global
  192. final def afterCurrentPhase[T](op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  193. def afterEachPhase[T](op: ⇒ T): List[(Phase, T)]

    Returns List of (phase, value) pairs, including only those where the value compares unequal to the previous phase's value.

    Returns List of (phase, value) pairs, including only those where the value compares unequal to the previous phase's value.

    Definition Classes
    Global
  194. final def afterErasure[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  195. final def afterExplicitOuter[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  196. final def afterFlatten[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  197. final def afterIcode[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  198. final def afterMixin[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  199. final def afterPhase[T](ph: Phase)(op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  200. final def afterPickler[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  201. final def afterRefchecks[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  202. final def afterSpecialize[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  203. final def afterTyper[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  204. final def afterUncurry[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  205. object analysis extends TypeFlowAnalysis

    ICode analysis for optimization

  206. lazy val analyzer: Analyzer { val global: ReflectGlobal.this.type }

    Definition Classes
    Global
  207. def annotatedType(annots: List[AnnotationInfo], underlying: Type, selfsym: Symbol): Type

    Definition Classes
    Types
  208. def annotationsConform(tp1: Type, tp2: Type): Boolean

    Definition Classes
    AnnotationCheckers
  209. def annotationsGlb(tpe: Type, ts: List[Type]): Type

    Definition Classes
    AnnotationCheckers
  210. def annotationsLub(tpe: Type, ts: List[Type]): Type

    Definition Classes
    AnnotationCheckers
  211. def appliedType(tyconSym: Symbol, args: Type*): Type

    Definition Classes
    Types
  212. def appliedType(tycon: Type, args: List[Type]): Type

    Definition Classes
    Types → Types
  213. def appliedTypeAsUpperBounds(tycon: Type, args: List[Type]): Type

    Definition Classes
    Types
  214. def arrayToRepeated(tp: Type): Type

    Definition Classes
    SymbolTable
  215. def asCompactString(t: Tree): String

    Definition Classes
    TreePrinters
  216. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  217. def asString(t: Tree): String

    Definition Classes
    TreePrinters
  218. final def assert(assertion: Boolean): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  219. final def assert(assertion: Boolean, message: ⇒ Any): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  220. final def atPhase[T](ph: Phase)(op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  221. final def atPhaseNotLaterThan[T](target: Phase)(op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  222. final def atPhaseStack: List[Phase]

    Definition Classes
    SymbolTable
  223. def atPhaseStackMessage: String

    Definition Classes
    SymbolTable
  224. def atPos[T <: Tree](pos: Position)(tree: T): T

    Definition Classes
    Positions → Positions
  225. def backquotedPath(t: Tree): String

    Definition Classes
    TreePrinters
  226. def baseTypeOfNonClassTypeRef(tpe: NonClassTypeRef, clazz: Symbol): Type

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  227. def baseTypeSingletonSeq(tp: Type): BaseTypeSeq

    Definition Classes
    BaseTypeSeqs
  228. final def beforeErasure[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  229. final def beforeExplicitOuter[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  230. final def beforeFlatten[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  231. final def beforeIcode[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  232. final def beforeMixin[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  233. final def beforePhase[T](ph: Phase)(op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  234. final def beforePickler[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  235. final def beforePrevPhase[T](op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  236. final def beforeRefchecks[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  237. final def beforeSpecialize[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  238. final def beforeTyper[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  239. final def beforeUncurry[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  240. def beginsWithTypeVarOrIsRefined(tp: Type): Boolean

    Definition Classes
    Types
  241. val build: BuildBase

    Definition Classes
    BuildUtils → BuildUtils
  242. def buildCompilerFromPhasesSet(): List[SubComponent]

    Definition Classes
    PhaseAssembly
  243. def canAdaptAnnotations(tree: Tree, mode: Int, pt: Type): Boolean

    Definition Classes
    AnnotationCheckers
  244. def captureVariable(vble: Symbol): Unit

    Definition Classes
    CapturedVariables
  245. def capturedVariableType(vble: Symbol, tpe: Type, erasedTypes: Boolean): Type

    Definition Classes
    CapturedVariables
  246. def capturedVariableType(vble: Symbol): Type

    Definition Classes
    CapturedVariables
  247. def changesAfterEachPhase[T](op: ⇒ List[T]): List[ChangeAfterPhase[T]]

    Returns List of ChangeAfterPhase objects, encapsulating those phase transitions where the result of the operation gave a different list than it had when run during the previous phase.

    Returns List of ChangeAfterPhase objects, encapsulating those phase transitions where the result of the operation gave a different list than it had when run during the previous phase.

    Definition Classes
    Global
  248. def checkKindBounds0(tparams: List[Symbol], targs: List[Type], pre: Type, owner: Symbol, explainErrors: Boolean): List[(Type, Symbol, KindErrors)]

    Definition Classes
    Kinds
  249. var chrs: Array[Char]

    Definition Classes
    Names
  250. def classPath: PlatformClassPath

    Definition Classes
    Global
  251. def classTagToClassManifest[T](tag: ClassTag[T]): ClassManifest[T]

    Definition Classes
    TagInterop
  252. object cleanup extends CleanUp

  253. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  254. def cloneSymbols(syms: List[Symbol]): List[Symbol]

    Definition Classes
    Symbols
  255. def cloneSymbolsAndModify(syms: List[Symbol], infoFn: (Type) ⇒ Type): List[Symbol]

    Definition Classes
    Symbols
  256. def cloneSymbolsAtOwner(syms: List[Symbol], owner: Symbol): List[Symbol]

    Definition Classes
    Symbols
  257. def cloneSymbolsAtOwnerAndModify(syms: List[Symbol], owner: Symbol, infoFn: (Type) ⇒ Type): List[Symbol]

    Definition Classes
    Symbols
  258. object closureElimination extends ClosureElimination

  259. final def collectMap2[A, B, C](xs1: List[A], xs2: List[B])(p: (A, B) ⇒ Boolean): Map[A, B]

    Definition Classes
    Collections
  260. def commonOwnerMap: CommonOwnerMap

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  261. final def compareLengths(xs1: List[_], xs2: List[_]): Int

    Definition Classes
    Types
    Annotations
    @tailrec()
  262. def compoundBaseTypeSeq(tp: Type): BaseTypeSeq

    Definition Classes
    BaseTypeSeqs
  263. def computeInternalPhases(): Unit

    Add the internal compiler phases to the phases set.

    Add the internal compiler phases to the phases set. This implementation creates a description map at the same time.

    Attributes
    protected
    Definition Classes
    Global
  264. def computePhaseDescriptors: List[SubComponent]

    Attributes
    protected
    Definition Classes
    Global
  265. def computePlatformPhases(): Unit

    Attributes
    protected
    Definition Classes
    Global
  266. def computePluginPhases(): Unit

    Extract all phases supplied by plugins and add them to the phasesSet.

    Extract all phases supplied by plugins and add them to the phasesSet.

    Attributes
    protected
    Definition Classes
    Plugins
    See also

    phasesSet

  267. def connectModuleToClass(m: ModuleSymbol, moduleClass: ClassSymbol): ModuleSymbol

    Definition Classes
    SynchronizedSymbols → Symbols
  268. object constfold extends ConstantFolder

    Fold constants

  269. object constructors extends Constructors

  270. def containsExistential(tpe: Type): Boolean

    Definition Classes
    Types
  271. def cookedDocComment(sym: Symbol, docStr: String = ""): String

    The raw doc comment of symbol sym, minus usecase and define sections, augmented by missing sections of an inherited doc comment.

    The raw doc comment of symbol sym, minus usecase and define sections, augmented by missing sections of an inherited doc comment. If a symbol does not have a doc comment but some overridden version of it does, the doc comment of the overridden version is copied instead.

    Definition Classes
    DocComments
  272. var cookedDocComments: Map[Symbol, String]

    Definition Classes
    DocComments
  273. def copyClassDef(tree: Tree)(mods: Modifiers, name: Name, tparams: List[TypeDef], impl: Template): ClassDef

    Definition Classes
    Trees
  274. def copyDefDef(tree: Tree)(mods: Modifiers, name: Name, tparams: List[TypeDef], vparamss: List[List[ValDef]], tpt: Tree, rhs: Tree): DefDef

    Definition Classes
    Trees
  275. def copyMethodType(tp: Type, params: List[Symbol], restpe: Type): Type

    Definition Classes
    Types
  276. object copyPropagation extends CopyPropagation

    Copy propagation for optimization

  277. def copyRefinedType(original: RefinedType, parents: List[Type], decls: Scope): Type

    Definition Classes
    Types
  278. def copyTypeRef(tp: Type, pre: Type, sym: Symbol, args: List[Type]): Type

    Definition Classes
    Types
  279. def copyValDef(tree: Tree)(mods: Modifiers, name: Name, tpt: Tree, rhs: Tree): ValDef

    Definition Classes
    Trees
  280. final def corresponds3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) ⇒ Boolean): Boolean

    Definition Classes
    Collections
    Annotations
    @tailrec()
  281. def createClassModule(owner: Symbol, name: TypeName, completer: (Symbol, Symbol) ⇒ LazyType): (ClassSymbol, ModuleSymbol)

    Attributes
    protected
    Definition Classes
    SymbolLoaders
  282. def createFromClonedSymbols[T](syms: List[Symbol], tpe: Type)(creator: (List[Symbol], Type) ⇒ T): T

    Definition Classes
    Symbols
  283. def createFromClonedSymbolsAtOwner[T](syms: List[Symbol], owner: Symbol, tpe: Type)(creator: (List[Symbol], Type) ⇒ T): T

    Definition Classes
    Symbols
  284. def createJavadoc: Boolean

    Definition Classes
    Global
  285. final def currentPeriod: Period

    Definition Classes
    SymbolTable
  286. def currentRun: Run

    The currently active run

    The currently active run

    Definition Classes
    Global
  287. def currentRunId: Int

    The id of the currently active run

    The id of the currently active run

    Definition Classes
    Global → SymbolTable
  288. def currentSource: SourceFile

    Definition Classes
    Global
  289. def currentUnit: CompilationUnit

    Definition Classes
    Global
  290. object deadCode extends DeadCodeElimination

  291. def debugInfo(msg: ⇒ String): Unit

    Definition Classes
    SymbolTable
  292. def debugStack(t: Throwable): Unit

    Definition Classes
    SymbolTable
  293. def debugString(tp: Type): String

    Definition Classes
    TypeDebugging
  294. final def debuglog(msg: ⇒ String): Unit

    Definition Classes
    Global → SymbolTable
    Annotations
    @inline()
  295. final def debugwarn(msg: ⇒ String): Unit

    Definition Classes
    Global → SymbolTable
    Annotations
    @inline()
  296. def decodedSymName(tree: Tree, name: Name): String

    Definition Classes
    TreePrinters
  297. def defineBaseClassesOfCompoundType(tpe: CompoundType): Unit

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  298. def defineBaseTypeSeqOfCompoundType(tpe: CompoundType): Unit

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  299. def defineBaseTypeSeqOfTypeRef(tpe: TypeRef): Unit

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  300. def defineParentsOfTypeRef(tpe: TypeRef): Unit

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  301. def defineUnderlyingOfSingleType(tpe: SingleType): Unit

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  302. object dependencyAnalysis extends SubComponent with DependencyAnalysis

  303. def deriveCaseDef(cdef: Tree)(applyToBody: (Tree) ⇒ Tree): CaseDef

    Definition Classes
    Trees
  304. def deriveClassDef(cdef: Tree)(applyToImpl: (Template) ⇒ Template): ClassDef

    Definition Classes
    Trees
  305. def deriveDefDef(ddef: Tree)(applyToRhs: (Tree) ⇒ Tree): DefDef

    Definition Classes
    Trees
  306. def deriveFreshSkolems(tparams: List[Symbol]): List[Symbol]

    Definition Classes
    ExistentialsAndSkolems
  307. def deriveLabelDef(ldef: Tree)(applyToRhs: (Tree) ⇒ Tree): LabelDef

    Definition Classes
    Trees
  308. def deriveModuleDef(mdef: Tree)(applyToImpl: (Template) ⇒ Template): ModuleDef

    Definition Classes
    Trees
  309. def deriveSymbols(syms: List[Symbol], symFn: (Symbol) ⇒ Symbol): List[Symbol]

    Definition Classes
    Symbols
  310. def deriveTemplate(templ: Tree)(applyToBody: (List[Tree]) ⇒ List[Tree]): Template

    Definition Classes
    Trees
  311. def deriveType(syms: List[Symbol], symFn: (Symbol) ⇒ Symbol)(tpe: Type): Type

    Definition Classes
    Symbols
  312. def deriveTypeWithWildcards(syms: List[Symbol])(tpe: Type): Type

    Definition Classes
    Symbols
  313. def deriveValDef(vdef: Tree)(applyToRhs: (Tree) ⇒ Tree): ValDef

    Definition Classes
    Trees
  314. def describeAfterEachPhase[T](op: ⇒ T): List[String]

    Definition Classes
    Global
  315. def describeAfterEveryPhase[T](op: ⇒ T): String

    Definition Classes
    Global
  316. def deskolemizeTypeParams(tparams: List[Symbol])(tp: Type): Type

    Definition Classes
    ExistentialsAndSkolems
  317. def differentOrNone(tp1: Type, tp2: Type): Type

    Definition Classes
    Types
  318. final def distinctBy[A, B](xs: List[A])(f: (A) ⇒ B): List[A]

    Definition Classes
    Collections
  319. def doInvalidation(): Any

    Invalidate contents of setting -Yinvalidate

    Invalidate contents of setting -Yinvalidate

    Definition Classes
    Global
  320. def docComment(sym: Symbol, docStr: String, pos: Position = NoPosition): Any

    Associate comment with symbol sym at position pos.

    Associate comment with symbol sym at position pos.

    Definition Classes
    DocComments
  321. def docCommentPos(sym: Symbol): Position

    The position of the raw doc comment of symbol sym, or NoPosition if missing If a symbol does not have a doc comment but some overridden version of it does, the position of the doc comment of the overridden version is returned instead.

    The position of the raw doc comment of symbol sym, or NoPosition if missing If a symbol does not have a doc comment but some overridden version of it does, the position of the doc comment of the overridden version is returned instead.

    Definition Classes
    DocComments
  322. val docComments: HashMap[Symbol, DocComment]

    The raw doc comment map

    The raw doc comment map

    Definition Classes
    DocComments
  323. def echoPhaseSummary(ph: Phase): Unit

    Definition Classes
    Global
  324. def elimAnonymousClass(t: Type): Type

    Definition Classes
    Types
  325. def elimRefinement(t: Type): Type

    Definition Classes
    Types
  326. val emptySymbolArray: Array[Symbol]

    Definition Classes
    Symbols
  327. val enableTypeVarExperimentals: Boolean

    Attributes
    protected
    Definition Classes
    Global → Types
  328. def encode(str: String): TermName

    Definition Classes
    StdNames
  329. def ensureNonOverlapping(tree: Tree, others: List[Tree]): Unit

    Definition Classes
    Positions
  330. def ensuring(cond: (ReflectGlobal) ⇒ Boolean, msg: ⇒ Any): ReflectGlobal

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to Ensuring[ReflectGlobal] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  331. def ensuring(cond: (ReflectGlobal) ⇒ Boolean): ReflectGlobal

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to Ensuring[ReflectGlobal] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  332. def ensuring(cond: Boolean, msg: ⇒ Any): ReflectGlobal

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to Ensuring[ReflectGlobal] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  333. def ensuring(cond: Boolean): ReflectGlobal

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to Ensuring[ReflectGlobal] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  334. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  336. object erasure extends Erasure

    Definition Classes
    Global → Transforms
  337. def error(msg: String): Unit

    Definition Classes
    Global
  338. val etaExpandKeepsStar: Boolean

    Attributes
    protected
    Definition Classes
    Global → Types
  339. def existentialAbstraction(tparams: List[Symbol], tpe0: Type): Type

    Definition Classes
    Types → Types
  340. def existentialsInType(tpe: Type): List[Symbol]

    Definition Classes
    Types
  341. final def exists2[A, B](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  342. def expandInheritdoc(parent: String, child: String, sym: Symbol): String

    Expand inheritdoc tags

    Expand inheritdoc tags

    • for the main comment we transform the inheritdoc into the super variable, and the variable expansion can expand it further
    • for the param, tparam and throws sections we must replace comments on the spot

    This is done separately, for two reasons: 1. It takes longer to run compared to merge 2. The inheritdoc annotation should not be used very often, as building the comment from pieces severely impacts performance

    parent

    The source (or parent) comment

    child

    The child (overriding member or usecase) comment

    sym

    The child symbol

    returns

    The child comment with the inheritdoc sections expanded

    Definition Classes
    DocComments
  343. def expandVariables(initialStr: String, sym: Symbol, site: Symbol): String

    Expand variable occurrences in string str, until a fix point is reached or a expandLimit is exceeded.

    Expand variable occurrences in string str, until a fix point is reached or a expandLimit is exceeded.

    sym

    The symbol for which doc comments are generated

    site

    The class for which doc comments are generated

    returns

    Expanded string

    Attributes
    protected
    Definition Classes
    DocComments
  344. def expandWiki(str: String): String

    Returns just the wiki expansion (this would correspond to a comment in the input format of the JavaDoc tool, modulo differences in tags.

    Returns just the wiki expansion (this would correspond to a comment in the input format of the JavaDoc tool, modulo differences in tags.)

    Definition Classes
    DocComments
  345. def expandedDocComment(sym: Symbol): String

    The cooked doc comment of symbol sym after variable expansion, or "" if missing.

    The cooked doc comment of symbol sym after variable expansion, or "" if missing.

    sym

    The symbol for which doc comment is returned (site is always the containing class)

    Definition Classes
    DocComments
  346. def expandedDocComment(sym: Symbol, site: Symbol, docStr: String = ""): String

    The cooked doc comment of symbol sym after variable expansion, or "" if missing.

    The cooked doc comment of symbol sym after variable expansion, or "" if missing.

    sym

    The symbol for which doc comment is returned

    site

    The class for which doc comments are generated

    Definition Classes
    DocComments
    Exceptions thrown
    ExpansionLimitExceeded

    when more than 10 successive expansions of the same string are done, which is interpreted as a recursive variable definition.

  347. def explain[T](op: String, p: (Type, T) ⇒ Boolean, tp1: Type, arg2: T): Boolean

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  348. def explainContext(c: Context): String

    Definition Classes
    Global
  349. def explainTree(t: Tree): String

    Definition Classes
    Global
  350. def explainTypes(op: (Type, Type) ⇒ Any, found: Type, required: Type): Unit

    Definition Classes
    Types
  351. def explainTypes(found: Type, required: Type): Unit

    Definition Classes
    Types
  352. object explicitOuter extends ExplicitOuter

  353. object extensionMethods extends ExtensionMethods

  354. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  355. def findMemberFromRoot(fullName: Name): Symbol

    Definition Classes
    Global
  356. final def findOrElse[A](xs: TraversableOnce[A])(p: (A) ⇒ Boolean)(orElse: ⇒ A): A

    Definition Classes
    Collections
  357. def findRecursiveBounds(ts: List[Type]): List[(Symbol, Symbol)]

    Definition Classes
    Types
  358. final def flatCollect[A, B](elems: List[A])(pf: PartialFunction[A, Traversable[B]]): List[B]

    Definition Classes
    Collections
  359. final def flatMap2[A, B, C](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ List[C]): List[C]

    Definition Classes
    Collections
  360. object flatten extends Flatten

  361. final def flattensToEmpty(xss: Seq[Seq[_]]): Boolean

    Definition Classes
    Collections
    Annotations
    @tailrec()
  362. def forInteractive: Boolean

    Definition Classes
    Global → Required
  363. def forJVM: Boolean

    Definition Classes
    Global
  364. def forMSIL: Boolean

    Definition Classes
    Global → SymbolTable
  365. def forScaladoc: Boolean

    Definition Classes
    Global → Required
  366. final def forall2[A, B](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  367. final def forall3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  368. final def foreach2[A, B](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ Unit): Unit

    Definition Classes
    Collections
  369. final def foreach3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) ⇒ Unit): Unit

    Definition Classes
    Collections
  370. final def foreachWithIndex[A, B](xs: List[A])(f: (A, Int) ⇒ Unit): Unit

    Definition Classes
    Collections
  371. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  372. def freshExistentialName(suffix: String): TypeName

    Attributes
    protected
    Definition Classes
    SynchronizedSymbols → Symbols
  373. def fromDeBruijn(owner: Symbol): TypeMap

    Definition Classes
    Types
  374. object gen extends TreeGen

    Definition Classes
    Global → SymbolTable
  375. object genASM extends GenASM

  376. object genJVM extends GenJVM

  377. def genPolyType(params: List[Symbol], tpe: Type): Type

    Definition Classes
    Types
  378. object genicode extends GenICode

  379. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  380. def getFile(clazz: Symbol, suffix: String): File

    Returns the file with the given suffix for the given class.

    Returns the file with the given suffix for the given class. Used for icode writing.

    Definition Classes
    Global
  381. def getFile(source: AbstractFile, segments: Array[String], suffix: String): File

    Definition Classes
    Global
  382. def getSourceFile(name: String): SourceFile

    Definition Classes
    Global
  383. def getSourceFile(f: AbstractFile): BatchSourceFile

    Definition Classes
    Global
  384. def glb(ts: List[Type]): Type

    Definition Classes
    SynchronizedTypes → Types → Types
  385. def glbNorm(ts: List[Type], depth: Int): Type

    Attributes
    protected
    Definition Classes
    Types
  386. def globalError(msg: String): Unit

    Definition Classes
    Global
  387. var globalPhase: Phase

    Definition Classes
    Global
  388. final def hasLength(xs: List[_], len: Int): Boolean

    Definition Classes
    Types
  389. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  390. object icodeChecker extends ICodeChecker

  391. object icodeCheckers extends ICodeCheckers

    Icode verification

  392. object icodes extends ICodes

    ICode generator

  393. var ids: Int

    Attributes
    protected
    Definition Classes
    Symbols
  394. final def ifDebug(body: ⇒ Unit): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  395. def info(msg: ⇒ String): Unit

    Definition Classes
    SymbolTable
  396. var infoTransformers: InfoTransformer

    Definition Classes
    SymbolTable
  397. def inform[T](msg: String, value: T): T

    Definition Classes
    Global
  398. def inform(msg: String): Unit

    Definition Classes
    Global
  399. def informComplete(msg: String): Unit

    Definition Classes
    Global
  400. def informProgress(msg: String): Unit

    Definition Classes
    Global
  401. def informTime(msg: String, start: Long): Unit

    Definition Classes
    Global
  402. def init(): Unit

    Definition Classes
    JavaMirrors
  403. def initClassModule(clazz: Symbol, module: Symbol, completer: LazyType): Unit

    Attributes
    protected
    Definition Classes
    SymbolLoaders
  404. object inlineExceptionHandlers extends InlineExceptionHandlers

  405. object inliner extends Inliners

  406. def instTypeVar(tp: Type): Type

    Definition Classes
    Types
  407. def instantiatedBounds(pre: Type, owner: Symbol, tparams: List[Symbol], targs: List[Type]): List[TypeBounds]

    Definition Classes
    Types
  408. def intersectionType(tps: List[Type]): Type

    Definition Classes
    Types → Types
  409. def intersectionType(tps: List[Type], owner: Symbol): Type

    Definition Classes
    Types → Types
  410. val intersectionWitness: WeakHashMap[List[Type], WeakReference[Type]]

    Definition Classes
    Types
  411. def invalidateClassPathEntries(paths: String*): (List[ClassSymbol], List[ClassSymbol])

    Invalidates packages that contain classes defined in a classpath entry, and rescans that entry.

    Invalidates packages that contain classes defined in a classpath entry, and rescans that entry.

    returns

    A pair consisting of

    • a list of invalidated packages
    • a list of of packages that should have been invalidated but were not because they are system packages.
    Definition Classes
    Global
  412. final def isAtPhaseAfter(p: Phase): Boolean

    Definition Classes
    SymbolTable
  413. def isBoundedGeneric(tp: Type): Boolean

    Definition Classes
    Types
  414. def isCompilerUniverse: Boolean

    Definition Classes
    ReflectGlobalGlobal → SymbolTable
  415. def isConstantType(tp: Type): Boolean

    Definition Classes
    Types
  416. def isDifferentType(tp1: Type, tp2: Type): Boolean

    Definition Classes
    SynchronizedTypes → Types
  417. def isDifferentTypeConstructor(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  418. def isErrorOrWildcard(tp: Type): Boolean

    Definition Classes
    Types
  419. def isHKSubType0(tp1: Type, tp2: Type, depth: Int): Boolean

    Definition Classes
    Types
  420. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  421. def isInvalidClassName(name: Name): Boolean

    Definition Classes
    SymbolLoaders
  422. def isNumericSubType(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  423. def isPopulated(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  424. def isRaw(sym: Symbol, args: List[Type]): Boolean

    Definition Classes
    Types
  425. def isRawType(tp: Type): Boolean

    Definition Classes
    Types
  426. def isReferenceToAnyVal(t: Tree): Boolean

    Definition Classes
    Trees
  427. def isReferenceToPredef(t: Tree): Boolean

    Definition Classes
    Trees
  428. def isReferenceToScalaMember(t: Tree, Id: Name): Boolean

    Definition Classes
    Trees
  429. def isSameType(tp1: Type, tp2: Type): Boolean

    Definition Classes
    SynchronizedTypes → Types
  430. def isSameType2(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  431. def isSameTypes(tps1: List[Type], tps2: List[Type]): Boolean

    Definition Classes
    Types
  432. def isScriptRun: Boolean

    Definition Classes
    Global
  433. def isSingleType(tp: Type): Boolean

    Definition Classes
    Types
  434. def isSubArgs(tps1: List[Type], tps2: List[Type], tparams: List[Symbol], depth: Int): Boolean

    Definition Classes
    Types
  435. def isSubType(tp1: Type, tp2: Type, depth: Int): Boolean

    Definition Classes
    SynchronizedTypes → Types
  436. def isSubType(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  437. def isSubTypes(tps1: List[Type], tps2: List[Type]): Boolean

    Definition Classes
    Types
  438. def isUnboundedGeneric(tp: Type): Boolean

    Definition Classes
    Types
  439. final def isValid(period: Period): Boolean

    Definition Classes
    SymbolTable
  440. final def isValidForBaseClasses(period: Period): Boolean

    Definition Classes
    SymbolTable
  441. def isWeakSubType(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  442. def isWithinBounds(pre: Type, owner: Symbol, tparams: List[Symbol], targs: List[Type]): Boolean

    Definition Classes
    Types
  443. def itransform(transformer: Transformer, tree: Tree): Tree

    Attributes
    protected
    Definition Classes
    Trees → Trees
  444. def itraverse(traverser: Traverser, tree: Tree): Unit

    Attributes
    protected
    Definition Classes
    Trees → Trees
  445. val javanme: JavaKeywords

    Definition Classes
    StdNames
  446. def kindsConform(tparams: List[Symbol], targs: List[Type], pre: Type, owner: Symbol): Boolean

    Definition Classes
    Kinds
  447. object lambdaLift extends LambdaLift

  448. object lazyVals extends LazyVals

  449. def loadPlugins(): List[Plugin]

    Load all available plugins.

    Load all available plugins. Skips plugins that either have the same name as another one, or which define a phase name that another one does.

    Attributes
    protected
    Definition Classes
    Plugins
  450. def loadRoughPluginsList(): List[Plugin]

    Load a rough list of the plugins.

    Load a rough list of the plugins. For speed, it does not instantiate a compiler run. Therefore it cannot test for same-named phases or other problems that are filtered from the final list of plugins.

    Attributes
    protected
    Definition Classes
    Plugins
  451. lazy val loaders: SymbolLoaders { val global: ReflectGlobal.this.type }

    Definition Classes
    Global
  452. final def log(msg: ⇒ AnyRef): Unit

    Definition Classes
    Global → SymbolTable
    Annotations
    @inline()
  453. def logAfterEveryPhase[T](msg: String)(op: ⇒ T): Unit

    Definition Classes
    Global
  454. def logError(msg: String, t: Throwable): Unit

    Definition Classes
    Global
  455. def logThrowable(t: Throwable): Unit

    Definition Classes
    Global
  456. def lookupVariable(vble: String, site: Symbol): Option[String]

    Lookup definition of variable.

    Lookup definition of variable.

    vble

    The variable for which a definition is searched

    site

    The class for which doc comments are generated

    Definition Classes
    DocComments
  457. implicit def lowPriorityNameOrdering[T <: Name]: Ordering[T]

    Definition Classes
    SymbolTable
  458. implicit def lowerTermNames(n: TermName): String

    Definition Classes
    StdNames
  459. def lub(ts: List[Type]): Type

    Definition Classes
    SynchronizedTypes → Types → Types
  460. def lubDepth(ts: List[Type]): Int

    Definition Classes
    Types
  461. def makeNoSymbol: NoSymbol

    Attributes
    protected
    Definition Classes
    SynchronizedSymbols → Symbols
  462. def manifestToTypeTag[T](mirror0: Any, manifest: Manifest[T]): TypeTag[T]

    Definition Classes
    TagInterop
  463. final def map2[A, B, C](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ C): List[C]

    Definition Classes
    Collections
  464. def map2Conserve[A <: AnyRef, B](xs: List[A], ys: List[B])(f: (A, B) ⇒ A): List[A]

    Definition Classes
    Types
  465. final def map3[A, B, C, D](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) ⇒ D): List[D]

    Definition Classes
    Collections
  466. final def mapFrom[A, A1 >: A, B](xs: List[A])(f: (A) ⇒ B): Map[A1, B]

    Definition Classes
    Collections
  467. def mapParamss[T](sym: Symbol)(f: (Symbol) ⇒ T): List[List[T]]

    Definition Classes
    Symbols
  468. final def mapWithIndex[A, B](xs: List[A])(f: (A, Int) ⇒ B): List[B]

    Definition Classes
    Collections
  469. final def matchesType(tp1: Type, tp2: Type, alwaysMatchSimple: Boolean): Boolean

    Definition Classes
    Types
  470. final val maxTostringRecursions: Int(50)

    Definition Classes
    Types
  471. def merge(src: String, dst: String, sym: Symbol, copyFirstPara: Boolean = false): String

    Merge elements of doccomment src into doc comment dst for symbol sym.

    Merge elements of doccomment src into doc comment dst for symbol sym. In detail:

    1. If copyFirstPara is true, copy first paragraph 2. For all parameters of sym if there is no @param section in dst for that parameter name, but there is one on src, copy that section. 3. If there is no @return section in dst but there is one in src, copy it.
    Definition Classes
    DocComments
  472. def mergePrefixAndArgs(tps: List[Type], variance: Int, depth: Int): Option[Type]

    Definition Classes
    Types
  473. final def mexists[A](xss: List[List[A]])(p: (A) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  474. final def mfilter[A](xss: List[List[A]])(p: (A) ⇒ Boolean): List[A]

    Definition Classes
    Collections
  475. final def mfind[A](xss: List[List[A]])(p: (A) ⇒ Boolean): Option[A]

    Definition Classes
    Collections
  476. final def mforall[A](xss: List[List[A]])(p: (A) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  477. final def mforeach[A](xss: List[List[A]])(f: (A) ⇒ Unit): Unit

    Definition Classes
    Collections
  478. def mirrorThatLoaded(sym: Symbol): Mirror

    Definition Classes
    JavaMirrors → SymbolTable
  479. val missingAliasException: MissingAliasControl

    Definition Classes
    Types
  480. def missingHook(owner: Symbol, name: Name): Symbol

    Definition Classes
    JavaMirrors → SymbolTable
  481. object mixer extends Mixin

  482. def mkAttributedQualifier(tpe: Type, termSym: Symbol): Tree

    Definition Classes
    Global
  483. def mkImporter(from0: Universe): Importer { val from: from0.type }

    Definition Classes
    Importers
  484. final def mmap[A, B](xss: List[List[A]])(f: (A) ⇒ B): List[List[B]]

    Definition Classes
    Collections
  485. def nameChars: Array[Char]

    Definition Classes
    Names
  486. final val nameDebug: Boolean(false)

    Definition Classes
    Names
  487. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  488. def needsOuterTest(patType: Type, selType: Type, currentOwner: Symbol): Boolean

    Definition Classes
    Types
  489. def newBaseTypeSeq(parents: List[Type], elems: Array[Type]): BaseTypeSeq with SynchronizedBaseTypeSeq

    Attributes
    protected
    Definition Classes
    SynchronizedOps → BaseTypeSeqs
  490. def newCompactTreePrinter(): CompactTreePrinter

    Definition Classes
    TreePrinters
  491. def newCompactTreePrinter(stream: OutputStream): CompactTreePrinter

    Definition Classes
    TreePrinters
  492. def newCompactTreePrinter(writer: PrintWriter): CompactTreePrinter

    Definition Classes
    TreePrinters
  493. def newCompilationUnit(code: String): CompilationUnit

    Definition Classes
    Global
  494. def newExistentialType(quantified: List[Symbol], underlying: Type): Type

    Definition Classes
    Types
  495. def newFreeTermSymbol(name: TermName, info: Type, value: ⇒ Any, flags: Long, origin: String): FreeTermSymbol

    Definition Classes
    SynchronizedSymbols → Symbols
  496. def newFreeTypeSymbol(name: TypeName, info: Type, value: ⇒ Any, flags: Long, origin: String): FreeTypeSymbol

    Definition Classes
    SynchronizedSymbols → Symbols
  497. def newLazyTreeCopier: TreeCopier

    Definition Classes
    Trees → Trees
  498. def newNestedScope(outer: Scope): Scope

    Definition Classes
    SynchronizedOps → Scopes → Scopes
  499. def newPackageScope(pkgClass: Symbol): PackageScope

    Definition Classes
    SymbolLoaders
  500. def newScope: Scope with SynchronizedScope

    Definition Classes
    SynchronizedOps → Scopes → Scopes
  501. def newScopeWith(elems: Symbol*): Scope

    Definition Classes
    Scopes → Scopes
  502. def newSourceFile(code: String): BatchSourceFile

    Definition Classes
    Global
  503. def newStandardTreePrinter(): TreePrinter

    Definition Classes
    TreePrinters
  504. def newStandardTreePrinter(stream: OutputStream): TreePrinter

    Definition Classes
    TreePrinters
  505. def newStandardTreePrinter(writer: PrintWriter): TreePrinter

    Definition Classes
    TreePrinters
  506. def newStrictTreeCopier: TreeCopier

    Definition Classes
    Trees → Trees
  507. def newTermName(s: String): TermName

    Definition Classes
    SynchronizedOps → Names → Names
  508. def newTermName(bs: Array[Byte], offset: Int, len: Int): TermName

    Definition Classes
    Names
  509. def newTermName(cs: Array[Char], offset: Int, len: Int, cachedString: String): TermName

    Attributes
    protected
    Definition Classes
    Names
  510. def newTermName(cs: Array[Char]): TermName

    Definition Classes
    Names
  511. def newTermName(cs: Array[Char], offset: Int, len: Int): TermName

    Definition Classes
    Names
  512. def newTermNameCached(s: String): TermName

    Definition Classes
    Names
  513. def newTreePrinter(): TreePrinter

    Definition Classes
    TreePrinters → TreePrinters
  514. def newTreePrinter(stream: OutputStream): TreePrinter

    Definition Classes
    TreePrinters → TreePrinters
  515. def newTreePrinter(writer: PrintWriter): TreePrinter

    Definition Classes
    TreePrinters → TreePrinters → TreePrinters
  516. def newTypeName(s: String): TypeName

    Definition Classes
    SynchronizedOps → Names → Names
  517. def newTypeName(bs: Array[Byte], offset: Int, len: Int): TypeName

    Definition Classes
    Names
  518. def newTypeName(cs: Array[Char], offset: Int, len: Int): TypeName

    Definition Classes
    Names
  519. def newTypeName(cs: Array[Char], offset: Int, len: Int, cachedString: String): TypeName

    Attributes
    protected
    Definition Classes
    Names
  520. def newTypeName(cs: Array[Char]): TypeName

    Definition Classes
    Names
  521. def newTypeNameCached(s: String): TypeName

    Definition Classes
    Names
  522. def newUndoLog: SynchronizedUndoLog

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  523. def newUnitParser(code: String): UnitParser

    Definition Classes
    Global
  524. def newUnitScanner(code: String): UnitScanner

    Definition Classes
    Global
  525. def nextId(): Int

    Attributes
    protected
    Definition Classes
    SynchronizedSymbols → Symbols
  526. object nodePrinters extends NodePrinters

    Print tree in detailed form

  527. val nodeToString: (Tree) ⇒ String

    Definition Classes
    Global
  528. object noopTransformer extends Transformer

  529. def normalizePlus(tp: Type): Type

    Definition Classes
    Types
  530. final def notify(): Unit

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

    Definition Classes
    AnyRef
  532. def numericGlb(ts: List[Type]): Type

    Definition Classes
    Types
  533. def numericLub(ts: List[Type]): Type

    Definition Classes
    Types
  534. def objToAny(tp: Type): Type

    Definition Classes
    Types
  535. def openPackageModule(pkgClass: Symbol): Unit

    Definition Classes
    SymbolTable
  536. def openPackageModule(container: Symbol, dest: Symbol): Unit

    Definition Classes
    SymbolTable
  537. object opt extends AestheticSettings

  538. val originalOwner: HashMap[Symbol, Symbol]

    Definition Classes
    Symbols
  539. def overloadedType(pre: Type, alternatives: List[Symbol]): Type

    Definition Classes
    Types
  540. object overridingPairs extends OverridingPairs

    Computing pairs of overriding/overridden symbols

  541. def paramString(tp: Type): String

    Definition Classes
    TypeDebugging
  542. object patmat extends SubComponent with PatternMatching

  543. final def period(rid: RunId, pid: Int): Period

    Definition Classes
    SymbolTable
  544. var phStack: List[Phase]

    Definition Classes
    SymbolTable
  545. final def phase: Phase

    Definition Classes
    SymbolTable
  546. def phaseDescriptions: String

    A description of the phases that will run

    A description of the phases that will run

    Definition Classes
    Global
  547. lazy val phaseDescriptors: List[SubComponent]

    Definition Classes
    Global
  548. def phaseFlagDescriptions: String

    Summary of the per-phase values of nextFlags and newFlags, shown with -Xshow-phases if -Ydebug also given.

    Summary of the per-phase values of nextFlags and newFlags, shown with -Xshow-phases if -Ydebug also given.

    Definition Classes
    Global
  549. final def phaseId(period: Period): Int

    Definition Classes
    SymbolTable
  550. lazy val phaseNames: List[String]

    The names of the phases.

    The names of the phases.

    Definition Classes
    Global
  551. final def phaseOf(period: Period): Phase

    Definition Classes
    SymbolTable
  552. val phaseWithId: Array[Phase]

    Definition Classes
    Global → SymbolTable
  553. final def phase_=(p: Phase): Unit

    Definition Classes
    SymbolTable
  554. lazy val phasesDescMap: Map[SubComponent, String]

    Attributes
    protected
    Definition Classes
    Global
  555. lazy val phasesSet: HashSet[SubComponent]

    Attributes
    protected
    Definition Classes
    Global
  556. object pickler extends Pickler

  557. def picklerPhase: Phase

    Definition Classes
    Global → Required
  558. lazy val platform: ThisPlatform

    Definition Classes
    Global
  559. def pluginDescriptions: String

    A description of all the plugins that are loaded

    A description of all the plugins that are loaded

    Definition Classes
    Plugins
  560. def pluginOptionsHelp: String

    Summary of the options for all loaded plugins

    Summary of the options for all loaded plugins

    Definition Classes
    Plugins
  561. lazy val plugins: List[Plugin]

    Definition Classes
    Plugins
  562. final def popPhase(ph: Phase): Unit

    Definition Classes
    SymbolTable
  563. lazy val posAssigner: PosAssigner

    Attributes
    protected[this]
    Definition Classes
    Positions → Positions
  564. object postErasure extends SubComponent with PostErasure

  565. def printAfterEachPhase[T](op: ⇒ T): Unit

    Definition Classes
    Global
  566. def printAllUnits(): Unit

    Definition Classes
    Global
  567. var printInfers: Boolean

    Definition Classes
    Global
  568. var printTypings: Boolean

    Switch to turn on detailed type logs

    Switch to turn on detailed type logs

    Definition Classes
    Global
  569. implicit def promoteTermNamesAsNecessary(name: Name): TermName

    Definition Classes
    Names
  570. final def pushPhase(ph: Phase): Phase

    Definition Classes
    SymbolTable
  571. def quotedName(name: String): String

    Definition Classes
    TreePrinters
  572. def quotedName(name: Name): String

    Definition Classes
    TreePrinters
  573. def quotedName(name: Name, decode: Boolean): String

    Definition Classes
    TreePrinters
  574. def rangePos(source: SourceFile, start: Int, point: Int, end: Int): OffsetPosition

    Definition Classes
    Positions
  575. def rawDocComment(sym: Symbol): String

    The raw doc comment of symbol sym, as it appears in the source text, "" if missing.

    The raw doc comment of symbol sym, as it appears in the source text, "" if missing.

    Definition Classes
    DocComments
  576. def rawToExistential: TypeMap

    Definition Classes
    Types
  577. object refChecks extends RefChecks

    Definition Classes
    Global → Transforms
  578. def referenceCapturedVariable(vble: Symbol): Tree

    Definition Classes
    CapturedVariables
  579. def refinedType(parents: List[Type], owner: Symbol): Type

    Definition Classes
    Types → Types
  580. def refinedType(parents: List[Type], owner: Symbol, decls: Scope, pos: Position): Type

    Definition Classes
    Types → Types
  581. def registerContext(c: Context): Unit

    Register new context; called for every created context

    Register new context; called for every created context

    Definition Classes
    Global
  582. def registerTopLevelSym(sym: Symbol): Unit

    Register top level class (called on entering the class)

    Register top level class (called on entering the class)

    Definition Classes
    Global
  583. def reify[T](expr: T): Expr[T]

    Definition Classes
    Universe
  584. def removeAllAnnotationCheckers(): Unit

    Definition Classes
    AnnotationCheckers
  585. def repackExistential(tp: Type): Type

    Definition Classes
    Types
  586. final def require(requirement: Boolean): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  587. final def require(requirement: Boolean, message: ⇒ Any): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  588. def resetAllAttrs(x: Tree, leaveAlone: (Tree) ⇒ Boolean = null): Tree

    resets symbol and tpe fields in a tree, @see ResetAttrs

    resets symbol and tpe fields in a tree, @see ResetAttrs

    Definition Classes
    Trees
  589. def resetLocalAttrs(x: Tree, leaveAlone: (Tree) ⇒ Boolean = null): Tree

    Definition Classes
    Trees
  590. def resetLocalAttrsKeepLabels(x: Tree, leaveAlone: (Tree) ⇒ Boolean = null): Tree

    Definition Classes
    Trees
  591. object resetPos extends Traverser

  592. val rootClassLoader: ClassLoader

    Definition Classes
    ReflectGlobal → JavaMirrors
  593. lazy val rootMirror: Mirror

    Definition Classes
    JavaMirrors → Mirrors
  594. lazy val roughPluginsList: List[Plugin]

    Attributes
    protected
    Definition Classes
    Plugins
  595. final def runId(period: Period): RunId

    Definition Classes
    SymbolTable
  596. def runtimeMirror(cl: ClassLoader): Mirror

    Definition Classes
    ReflectGlobal → JavaMirrors → JavaUniverse
  597. final def sameLength(xs1: List[_], xs2: List[_]): Boolean

    Definition Classes
    Types
  598. object sampleTransform extends SampleTransform

  599. object scalaPrimitives extends ScalaPrimitives

    Scala primitives, used in genicode

  600. def scopeTransform(owner: Symbol)(op: ⇒ Scope): Scope

    Definition Classes
    SymbolLoaders
  601. val self: Any

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  602. val self: Any

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  603. def setAllInfos(clazz: Symbol, module: Symbol, info: Type): Unit

    Attributes
    protected
    Definition Classes
    SymbolLoaders
  604. def settings: Settings

    Definition Classes
    Global → Required
  605. val shorthands: Set[String]

    Definition Classes
    Types
  606. def shouldLogAtThisPhase: Boolean

    Definition Classes
    Global
  607. def show(tree: Tree, mkPrinter: (PrintWriter) ⇒ TreePrinter): String

    Definition Classes
    TreePrinters
  608. def show(tree: Tree): String

    Definition Classes
    TreePrinters
  609. def showDef(fullName: Name, declsOnly: Boolean, ph: Phase): Unit

    We resolve the class/object ambiguity by passing a type/term name.

    We resolve the class/object ambiguity by passing a type/term name.

    Definition Classes
    Global
  610. final val showOuterTests: Boolean(false)

    Definition Classes
    TreePrinters
  611. def showRaw(tree: Tree): String

    Definition Classes
    TreePrinters
  612. def signalDone(context: Context, old: Tree, result: Tree): Unit

    Called every time an AST node is successfully typechecked in typerPhase.

    Called every time an AST node is successfully typechecked in typerPhase.

    Definition Classes
    Global
  613. def signalParseProgress(pos: Position): Unit

    Called from parser, which signals hereby that a method definition has been parsed.

    Called from parser, which signals hereby that a method definition has been parsed.

    Definition Classes
    Global
  614. def singleType(pre: Type, sym: Symbol): Type

    Definition Classes
    Types → Types
  615. def singletonBounds(hi: Type): TypeBounds

    Definition Classes
    Types
  616. var skolemizationLevel: Int

    Definition Classes
    Types
  617. lazy val sn: SymbolNames

    Definition Classes
    StdNames
  618. def solve(tvars: List[TypeVar], tparams: List[Symbol], variances: List[Int], upper: Boolean, depth: Int): Boolean

    Definition Classes
    Types
  619. def solve(tvars: List[TypeVar], tparams: List[Symbol], variances: List[Int], upper: Boolean): Boolean

    Definition Classes
    Types
  620. def spanningTypes(ts: List[Type]): List[Type]

    Definition Classes
    Types
  621. object specializeTypes extends SpecializeTypes

  622. def specializesSym(tp: Type, sym: Symbol, depth: Int): Boolean

    Definition Classes
    Types
  623. def specializesSym(tp: Type, sym: Symbol): Boolean

    Definition Classes
    Types
  624. final def startRun(period: Period): Period

    Definition Classes
    SymbolTable
  625. object statistics extends StatisticsInfo

    Some statistics (normally disabled) set with -Ystatistics

  626. object superAccessors extends SuperAccessors

  627. def superComment(sym: Symbol): Option[String]

    The cooked doc comment of an overridden symbol

    The cooked doc comment of an overridden symbol

    Attributes
    protected
    Definition Classes
    DocComments
  628. def supplementErrorMessage(errorMessage: String): String

    Don't want to introduce new errors trying to report errors, so swallow exceptions.

    Don't want to introduce new errors trying to report errors, so swallow exceptions.

    Definition Classes
    Global → SymbolTable
  629. def suspendTypeVarsInType(tp: Type): List[TypeVar]

    Definition Classes
    Types
  630. def symName(tree: Tree, name: Name): String

    Definition Classes
    TreePrinters
  631. def symbolCount: Int

    Definition Classes
    Symbols
  632. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  633. object syntaxAnalyzer extends SyntaxAnalyzer

  634. object tailCalls extends TailCalls

  635. object terminal extends SubComponent

  636. def throwableAsString(t: Throwable): String

    Definition Classes
    Global → SymbolTable
  637. def toJavaDoc(s: String): String

    Returns the javadoc format of doc comment string s, including wiki expansion

    Returns the javadoc format of doc comment string s, including wiki expansion

    Definition Classes
    DocComments
  638. def toString(): String

    Definition Classes
    AnyRef → Any
  639. final val traceSymbolActivity: Boolean

    Definition Classes
    SymbolTable
  640. def transformedType(sym: Symbol): Type

    Definition Classes
    ReflectGlobal → Transforms
  641. def transformedType(tpe: Type): _73.global.Type forSome { val _73: scala.reflect.internal.transform.Erasure{val global: ReflectGlobal.this.type} }

    Definition Classes
    Transforms
  642. final def transposeSafe[A](ass: List[List[A]]): Option[List[List[A]]]

    Definition Classes
    Collections
  643. val treeBrowser: SwingBrowser

    Definition Classes
    Global
  644. object treeBrowsers extends TreeBrowsers

    Representing ASTs as graphs

  645. val treeBuild: TreeGen { val global: ReflectGlobal.this.type }

    Definition Classes
    SymbolTable → Universe
  646. object treeChecker extends TreeCheckers

    Tree checker

  647. val treeCopy: TreeCopier

    Definition Classes
    Trees
  648. object treeInfo extends TreeInfo

  649. def treeLine(t: Tree): String

    Definition Classes
    Trees
  650. lazy val treePrinter: TreePrinter

    Definition Classes
    Trees
  651. def treeStatus(t: Tree, enclosingTree: Tree = null): String

    Definition Classes
    Trees
  652. def treeSymStatus(t: Tree): String

    Definition Classes
    Trees
  653. def typeArgsString(tp: Type): String

    Definition Classes
    TypeDebugging
  654. object typeDeconstruct extends StructuredTypeStrings

  655. def typeDepth(tp: Type): Int

    Definition Classes
    Types
  656. def typeFun(tps: List[Symbol], body: Type): Type

    Definition Classes
    Types
  657. def typeFunAnon(tps: List[Symbol], body: Type): Type

    Definition Classes
    Types
  658. def typeOf[T](implicit ttag: TypeTag[T]): Type

    Definition Classes
    TypeTags
  659. def typeParamsString(tp: Type): String

    Definition Classes
    TypeDebugging
  660. def typeParamsToExistentials(clazz: Symbol): List[Symbol]

    Definition Classes
    Types
  661. def typeParamsToExistentials(clazz: Symbol, tparams: List[Symbol]): List[Symbol]

    Definition Classes
    Types
  662. def typeRef(pre: Type, sym: Symbol, args: List[Type]): Type

    Definition Classes
    Types → Types
  663. def typeTag[T](implicit ttag: TypeTag[T]): TypeTag[T]

    Definition Classes
    TypeTags
  664. def typeTagToManifest[T](mirror0: Any, tag: TypeTag[T])(implicit arg0: ClassTag[T]): Manifest[T]

    Definition Classes
    TagInterop
  665. def typeToString(tpe: Type): String

    Attributes
    protected
    Definition Classes
    SynchronizedTypes → Types
  666. def typeVarsInType(tp: Type): List[TypeVar]

    Definition Classes
    Types
  667. object typer extends Typer

  668. object uncurry extends UnCurry

    Definition Classes
    Global → Transforms
  669. val undetBaseTypeSeq: BaseTypeSeq

    Definition Classes
    BaseTypeSeqs
  670. lazy val undoLog: UndoLog

    Definition Classes
    Types
  671. def unique[T <: Type](tp: T): T

    Definition Classes
    SynchronizedTypes → Types
  672. def uniqueTypeCount: Int

    Definition Classes
    Types
  673. def useCases(sym: Symbol): List[(Symbol, String, Position)]

    Definition Classes
    DocComments
  674. def useCases(sym: Symbol, site: Symbol): List[(Symbol, String, Position)]

    The list of use cases of doc comment of symbol sym seen as a member of class site.

    The list of use cases of doc comment of symbol sym seen as a member of class site. Each use case consists of a synthetic symbol (which is entered nowhere else), of an expanded doc comment string, and of its position.

    sym

    The symbol for which use cases are returned

    site

    The class for which doc comments are generated

    Definition Classes
    DocComments
    Exceptions thrown
    ExpansionLimitExceeded

    when more than 10 successive expansions of the same string are done, which is interpreted as a recursive variable definition.

  675. def validateClassInfo(tp: ClassInfoType): Unit

    Definition Classes
    SymbolLoaders
  676. def validatePositions(tree: Tree): Unit

    Definition Classes
    Positions
  677. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  680. def warning(msg: String): Unit

    Definition Classes
    Global
  681. def weakGlb(ts: List[Type]): (Type, Boolean)

    Definition Classes
    Types
  682. def weakLub(ts: List[Type]): (Type, Boolean)

    Definition Classes
    Types
  683. def withInfoLevel[T](infolevel: Value)(op: ⇒ T): T

    Definition Classes
    Global
  684. def withTypesExplained[A](op: ⇒ A): A

    Definition Classes
    Types
  685. def wrappingPos(trees: List[Tree]): Position

    Definition Classes
    Positions → Positions
  686. def wrappingPos(default: Position, trees: List[Tree]): Position

    Definition Classes
    Positions → Positions
  687. def xprintTree(treePrinter: TreePrinter, tree: Tree): Unit

    Definition Classes
    TreePrinters → TreePrinters
  688. def xtransform(transformer: Transformer, tree: Tree): Tree

    Attributes
    protected
    Definition Classes
    Trees → Trees
  689. def xtraverse(traverser: Traverser, tree: Tree): Unit

    Attributes
    protected
    Definition Classes
    Trees → Trees
  690. def [B](y: B): (ReflectGlobal, B)

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to ArrowAssoc[ReflectGlobal] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def abort(): Nothing

    Definition Classes
    SymbolTable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Give us a reason

  2. def clearOnNextRun(sym: Symbol): Boolean

    A hook that lets subclasses of Global define whether a package or class should be kept loaded for the next compiler run.

    A hook that lets subclasses of Global define whether a package or class should be kept loaded for the next compiler run. If the parameter sym is a class or object, and clearOnNextRun(sym) returns true, then the symbol is unloaded and reset to its state before the last compiler run. If the parameter sym is a package, and clearOnNextRun(sym) returns true, the package is recursively searched for classes to drop.

    Example: Let's say I want a compiler that drops all classes corresponding to the current project between runs. Then keepForNextRun of a toplevel class or object should return true if the class or object does not form part of the current project, false otherwise. For a package, clearOnNextRun should return true if no class in that package forms part of the current project, false otherwise.

    sym

    A class symbol, object symbol, package, or package class.

    Definition Classes
    Global
    Annotations
    @deprecated
    Deprecated

    use invalidateClassPathEntries instead

  3. def duplicateTree(tree: Tree): Tree

    Attributes
    protected[scala]
    Definition Classes
    Trees
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Moved to tree.duplicate

  4. def onlyPresentation: Boolean

    Definition Classes
    Global
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use forInteractive or forScaladoc, depending on what you're after

  5. def polyType(params: List[Symbol], tpe: Type): Type

    Definition Classes
    Types → Types
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use genPolyType(...) instead

  6. def view(s: String): TermName

    Definition Classes
    Names
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0)

  7. def x: ReflectGlobal

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to ArrowAssoc[ReflectGlobal] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  8. def x: ReflectGlobal

    Implicit information
    This member is added by an implicit conversion from ReflectGlobal to Ensuring[ReflectGlobal] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from SymbolTable

Inherited from SynchronizedOps

Inherited from SynchronizedTypes

Inherited from SynchronizedSymbols

Inherited from SymbolLoaders

Inherited from JavaMirrors

Inherited from JavaUniverse

Inherited from TagInterop

Inherited from ReflectSetup

Inherited from Global

Inherited from Positions

Inherited from DocComments

Inherited from TreePrinters

Inherited from Trees

Inherited from PhaseAssembly

Inherited from Plugins

Inherited from CompilationUnits

Inherited from SymbolTable

Inherited from SymbolTable

Inherited from BuildUtils

Inherited from StdCreators

Inherited from StdAttachments

Inherited from CapturedVariables

Inherited from Required

Inherited from Importers

Inherited from TypeDebugging

Inherited from Positions

Inherited from TreePrinters

Inherited from Trees

Inherited from AnnotationCheckers

Inherited from AnnotationInfos

Inherited from StdNames

Inherited from Transforms

Inherited from InfoTransformers

Inherited from BaseTypeSeqs

Inherited from Constants

Inherited from Definitions

Inherited from Mirrors

Inherited from Scopes

Inherited from FlagSets

Inherited from ExistentialsAndSkolems

Inherited from Kinds

Inherited from Types

Inherited from Symbols

Inherited from Names

Inherited from Collections

Inherited from Universe

Inherited from Universe

Inherited from AnnotationInfos

Inherited from Exprs

Inherited from Importers

Inherited from StandardNames

Inherited from StandardDefinitions

Inherited from Mirrors

Inherited from Positions

Inherited from Constants

Inherited from TreePrinters

Inherited from Trees

Inherited from Names

Inherited from FlagSets

Inherited from Types

Inherited from Symbols

Inherited from Universe

Inherited from Mirrors

Inherited from BuildUtils

Inherited from StandardNames

Inherited from StandardDefinitions

Inherited from StandardTypes

Inherited from TagInterop

Inherited from TypeTags

Inherited from Positions

Inherited from AnnotationInfos

Inherited from Constants

Inherited from Trees

Inherited from Names

Inherited from Scopes

Inherited from FlagSets

Inherited from Types

Inherited from Symbols

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ReflectGlobal to StringAdd

Inherited by implicit conversion any2stringfmt from ReflectGlobal to StringFormat

Inherited by implicit conversion any2ArrowAssoc from ReflectGlobal to ArrowAssoc[ReflectGlobal]

Inherited by implicit conversion any2Ensuring from ReflectGlobal to Ensuring[ReflectGlobal]