scala.reflect.generic

Universe

class Universe extends Symbols with Types with Constants with Scopes with Names with StdNames with Trees with AnnotationInfos with StandardDefinitions

attributes: abstract
source: Universe.scala
Inherited
  1. Hide All
  2. Show all
  1. StandardDefinitions
  2. AnnotationInfos
  3. Trees
  4. StdNames
  5. Names
  6. Scopes
  7. Constants
  8. Types
  9. Symbols
  10. AnyRef
  11. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new Universe()

Type Members

  1. class AbsDefinitions extends AnyRef

  2. trait AbsLazyType extends AbsType

  3. class AbsScope extends Iterable[Symbol]

  4. class AbsSymbol extends AnyRef

  5. class AbsTreePrinter extends AnyRef

  6. class AbsType extends AnyRef

  7. class AbsTypeTree extends Tree with TypTree

    A synthetic term holding an arbitrary type.

  8. class Alternative(trees: List[Tree]) extends Tree with TermTree with Product

    Alternatives of patterns, eliminated by TransMatch, except for occurrences in encoded Switch stmt (=remaining Match(CaseDef(.

  9. class Annotated(annot: Tree, arg: Tree) extends Tree with Product

    A tree that has an annotation attached to it.

  10. type AnnotatedType <: Type

  11. class AnnotatedTypeExtractor extends AnyRef

  12. type AnnotationInfo <: AnyRef

  13. class AnnotationInfoExtractor extends AnyRef

  14. class AppliedTypeTree(tpt: Tree, args: List[Tree]) extends Tree with TypTree with Product

    Applied type <tpt> [ <args> ], eliminated by RefCheck

  15. class Apply(fun: Tree, args: List[Tree]) extends GenericApply with Product

    Value application

  16. class ApplyDynamic(qual: Tree, args: List[Tree]) extends Tree with TermTree with SymTree with Product

    Dynamic value application.

  17. type ArrayAnnotArg <: ClassfileAnnotArg

  18. class ArrayAnnotArgExtractor extends AnyRef

  19. class ArrayValue(elemtpt: Tree, elems: List[Tree]) extends Tree with TermTree with Product

    Array of expressions, needs to be translated in backend,

  20. class Assign(lhs: Tree, rhs: Tree) extends Tree with TermTree with Product

    Assignment

  21. class BackQuotedIdent extends Ident

  22. class Bind(name: Name, body: Tree) extends DefTree with Product

    Bind of a variable to a rhs pattern, eliminated by TransMatch

  23. class Block(stats: List[Tree], expr: Tree) extends Tree with TermTree with Product

    Block of expressions (semicolon separated expressions)

  24. class CaseDef(pat: Tree, guard: Tree, body: Tree) extends Tree with Product

    Case clause in a pattern match, eliminated by TransMatch (except for occurrences in switch statements)

  25. class ClassDef(mods: Modifiers, name: Name, tparams: List[TypeDef], impl: Template) extends ImplDef with Product

    Class definition

  26. type ClassInfoType <: CompoundType

  27. class ClassInfoTypeExtractor extends AnyRef

  28. type ClassfileAnnotArg <: AnyRef

  29. type CompoundType <: Type

  30. class CompoundTypeTree(templ: Template) extends Tree with TypTree with Product

    Intersection type <parent1> with .

  31. class Constant(value: Any) extends Product

  32. type ConstantType <: Type

  33. class ConstantTypeExtractor extends AnyRef

  34. class DefDef(mods: Modifiers, name: Name, tparams: List[TypeDef], vparamss: List[List[ValDef]], tpt: Tree, rhs: Tree) extends ValOrDefDef with Product

    Method definition

  35. class DefTree extends Tree with SymTree

  36. type ExistentialType <: Type

  37. class ExistentialTypeExtractor extends AnyRef

  38. class ExistentialTypeTree(tpt: Tree, whereClauses: List[Tree]) extends Tree with TypTree with Product

  39. class Function(vparams: List[ValDef], body: Tree) extends Tree with TermTree with SymTree with Product

    Anonymous function, eliminated by analyzer

  40. class GenericApply extends Tree with TermTree

  41. class Ident(name: Name) extends Tree with RefTree with Product

    Identifier <name>

  42. class If(cond: Tree, thenp: Tree, elsep: Tree) extends Tree with TermTree with Product

    Conditional expression

  43. class ImplDef extends MemberDef

  44. class Import(expr: Tree, selectors: List[ImportSelector]) extends Tree with SymTree with Product

    Import clause

  45. class ImportSelector(name: Name, namePos: Int, rename: Name, renamePos: Int) extends Product

    Import selector

  46. class LabelDef(name: Name, params: List[Ident], rhs: Tree) extends DefTree with TermTree with Product

    Labelled expression - the symbols in the array (must be Idents!) are those the label takes as argument

  47. type LazyType <: Type with AbsLazyType

  48. class Literal(value: Constant) extends Tree with TermTree with Product

    Literal

  49. type LiteralAnnotArg <: ClassfileAnnotArg

  50. class LiteralAnnotArgExtractor extends AnyRef

  51. class Match(selector: Tree, cases: List[CaseDef]) extends Tree with TermTree with Product

    Pattern matching expression (before TransMatch) Switch statements (after TransMatch)

  52. class MemberDef extends DefTree

  53. type MethodType <: Type

  54. class MethodTypeExtractor extends AnyRef

  55. class Modifiers(flags: Long, privateWithin: Name, annotations: List[Tree], positions: Map[Long, Position]) extends Product

    no summary matey

  56. class ModuleDef(mods: Modifiers, name: Name, impl: Template) extends ImplDef with Product

    Singleton object definition

  57. type Name <: AnyRef >: Null

  58. type NestedAnnotArg <: ClassfileAnnotArg

  59. class NestedAnnotArgExtractor extends AnyRef

  60. class New(tpt: Tree) extends Tree with TermTree with Product

    Object instantiation One should always use factory method below to build a user level new.

  61. class PackageDef(pid: RefTree, stats: List[Tree]) extends MemberDef with Product

    Package clause

  62. type PolyType <: Type

  63. class PolyTypeExtractor extends AnyRef

  64. type Position

  65. trait RefTree extends Tree with SymTree

  66. type RefinedType <: CompoundType

  67. class RefinedTypeExtractor extends AnyRef

  68. class Return(expr: Tree) extends Tree with TermTree with SymTree with Product

    Return expression

  69. type Scope <: AbsScope

  70. class Select(qualifier: Tree, name: Name) extends Tree with RefTree with Product

    Designator <qualifier> .

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

    Array selection <qualifier> .

  72. class SelectFromTypeTree(qualifier: Tree, name: Name) extends Tree with TypTree with RefTree with Product

    Type selection <qualifier> # <name>, eliminated by RefCheck

  73. type SingleType <: Type

  74. class SingleTypeExtractor extends AnyRef

  75. class SingletonTypeTree(ref: Tree) extends Tree with TypTree with Product

    Singleton type, eliminated by RefCheck

  76. class StandardNames extends AnyRef

  77. class Star(elem: Tree) extends Tree with TermTree with Product

    Repetition of pattern, eliminated by TransMatch

  78. class Super(qual: Name, mix: Name) extends Tree with TermTree with SymTree with Product

    Super reference

  79. type SuperType <: Type

  80. class SuperTypeExtractor extends AnyRef

  81. trait SymTree extends Tree

  82. type Symbol <: AbsSymbol >: Null

  83. class Template(parents: List[Tree], self: ValDef, body: List[Tree]) extends Tree with SymTree with Product

    Instantiation template of a class or trait

  84. trait TermTree extends Tree

  85. class This(qual: Name) extends Tree with TermTree with SymTree with Product

    Self reference

  86. type ThisType <: Type

  87. class ThisTypeExtractor extends AnyRef

  88. class Throw(expr: Tree) extends Tree with TermTree with Product

    Throw expression

  89. class Traverser extends AnyRef

  90. class Tree extends Product

  91. class Try(block: Tree, catches: List[CaseDef], finalizer: Tree) extends Tree with TermTree with Product

  92. trait TypTree extends Tree

    A tree for a type.

  93. type Type <: AbsType >: Null

  94. class TypeApply(fun: Tree, args: List[Tree]) extends GenericApply with Product

    Type application

  95. type TypeBounds <: Type

  96. class TypeBoundsExtractor extends AnyRef

  97. class TypeBoundsTree(lo: Tree, hi: Tree) extends Tree with TypTree with Product

  98. class TypeDef(mods: Modifiers, name: Name, tparams: List[TypeDef], rhs: Tree) extends MemberDef with Product

    Abstract type, type parameter, or type alias

  99. type TypeRef <: Type

  100. class TypeRefExtractor extends AnyRef

  101. type TypeTree <: AbsTypeTree

  102. class TypeTreeExtractor extends AnyRef

  103. class Typed(expr: Tree, tpt: Tree) extends Tree with TermTree with Product

    Type annotation, eliminated by explicit outer

  104. class UnApply(fun: Tree, args: List[Tree]) extends Tree with TermTree with Product

  105. class ValDef(mods: Modifiers, name: Name, tpt: Tree, rhs: Tree) extends ValOrDefDef with Product

    Value definition

  106. class ValOrDefDef extends MemberDef

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. val AnnotatedType: AnnotatedTypeExtractor

  9. val AnnotationInfo: AnnotationInfoExtractor

  10. val ArrayAnnotArg: ArrayAnnotArgExtractor

  11. val BooleanTag: Int

  12. val ByteTag: Int

  13. val CharTag: Int

  14. val ClassInfoType: ClassInfoTypeExtractor

  15. val ClassTag: Int

  16. val ConstantType: ConstantTypeExtractor

  17. val DoubleTag: Int

  18. object EmptyTree extends Tree with TermTree with Product

    The empty tree

  19. val EnumTag: Int

  20. val ExistentialType: ExistentialTypeExtractor

  21. val FloatTag: Int

  22. val IntTag: Int

  23. def Literal(value: Any): Literal

  24. val LiteralAnnotArg: LiteralAnnotArgExtractor

  25. val LongTag: Int

  26. val MethodType: MethodTypeExtractor

  27. def Modifiers(flags: Long): Modifiers

  28. def Modifiers(flags: Long, privateWithin: Name): Modifiers

  29. val NestedAnnotArg: NestedAnnotArgExtractor

  30. lazy val NoMods: Modifiers

  31. val NoPosition: Position

  32. val NoPrefix: Type

  33. val NoSymbol: Symbol

  34. val NoTag: Int

  35. val NoType: Type

  36. val NullTag: Int

  37. val PolyType: PolyTypeExtractor

  38. val RefinedType: RefinedTypeExtractor

  39. val ShortTag: Int

  40. val SingleType: SingleTypeExtractor

  41. val StringTag: Int

  42. val SuperType: SuperTypeExtractor

  43. val ThisType: ThisTypeExtractor

  44. val TypeBounds: TypeBoundsExtractor

  45. val TypeRef: TypeRefExtractor

  46. val TypeTree: TypeTreeExtractor

  47. val UnitTag: Int

  48. def asInstanceOf[T0]: T0

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

  49. implicit def classfileAnnotArgManifest: ClassManifest[ClassfileAnnotArg]

  50. def clone(): AnyRef

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

  51. val definitions: AbsDefinitions

  52. def eq(arg0: AnyRef): Boolean

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

  53. def equals(arg0: Any): Boolean

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

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

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

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

  56. def hashCode(): Int

    Returns a hash code value for the object.

  57. def isInstanceOf[T0]: Boolean

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

  58. val maxTostringRecursions: Int

    The maximum number of recursions allowed in toString

  59. def mkTermName(name: Name): Name

  60. def mkTypeName(name: Name): Name

  61. def ne(arg0: AnyRef): Boolean

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

  62. def newScope(): Scope

  63. def newTermName(s: String): Name

  64. def newTermName(cs: Array[Byte], offset: Int, len: Int): Name

  65. def newTermName(cs: Array[Char], offset: Int, len: Int): Name

  66. def newTreePrinter(out: PrintWriter): AbsTreePrinter

  67. def newTypeName(s: String): Name

  68. def newTypeName(cs: Array[Byte], offset: Int, len: Int): Name

  69. def newTypeName(cs: Array[Char], offset: Int, len: Int): Name

  70. val nme: StandardNames

  71. def notify(): Unit

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

  72. def notifyAll(): Unit

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

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

  74. def toString(): String

    Returns a string representation of the object.

  75. def wait(): Unit

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

  77. def wait(arg0: Long): Unit