scala.reflect

DummyMirror

class DummyMirror extends Universe with Mirror

Source
DummyMirror.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DummyMirror
  2. Mirror
  3. Universe
  4. Importers
  5. FrontEnds
  6. ToolBoxes
  7. TreeBuildUtil
  8. ClassLoaders
  9. StandardNames
  10. TreePrinters
  11. TypeTags
  12. StandardDefinitions
  13. StandardTypes
  14. Exprs
  15. Positions
  16. AnnotationInfos
  17. Trees
  18. Names
  19. Scopes
  20. Constants
  21. Types
  22. FreeVars
  23. Symbols
  24. AnyRef
  25. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  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 DummyMirror(cl: ClassLoader)

Type Members

  1. abstract class AbsConstant extends AnyRef

  2. trait AbsDefinitions extends AbsDefinitionsInternal

  3. trait AbsDefinitionsInternal extends AnyRef

  4. abstract class AbsModifiers extends AnyRef

  5. abstract class AbsName extends AnyRef

  6. trait AbsNames extends AnyRef

  7. trait AbsSymbol extends AbsSymbolInternal

  8. trait AbsSymbolInternal extends AnyRef

  9. trait AbsTermNames extends AbsNames

  10. trait AbsToolBox extends AnyRef

  11. abstract class AbsType extends AnyRef

    This class declares operations that are visible in a Type.

  12. trait AbsTypeNames extends AbsNames

  13. case class Alternative(trees: List[Tree]) extends Tree with TermTree with Product with Serializable

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

  14. case class Annotated(annot: Tree, arg: Tree) extends Tree with Product with Serializable

    A tree that has an annotation attached to it.

  15. type AnnotatedType = DummyMirror.this.DummyType.type

    Definition Classes
    DummyMirrorTypes
  16. abstract class AnnotatedTypeExtractor extends AnyRef

  17. type AnnotationInfo = DummyMirror.this.DummyAnnotationInfo.type

    Definition Classes
    DummyMirrorAnnotationInfos
  18. abstract class AnnotationInfoExtractor extends AnyRef

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

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

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

    Value application

  21. class ApplyConstructor extends Apply

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

    Dynamic value application.

  23. class ApplyImplicitView extends Apply

  24. class ApplyToImplicitArgs extends Apply

  25. type ArrayAnnotArg = DummyMirror.this.DummyArrayAnnotArg.type

    Definition Classes
    DummyMirrorAnnotationInfos
  26. abstract class ArrayAnnotArgExtractor extends AnyRef

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

    Array of expressions, needs to be translated in backend,

  28. case class Assign(lhs: Tree, rhs: Tree) extends Tree with TermTree with Product with Serializable

    Assignment

  29. case class AssignOrNamedArg(lhs: Tree, rhs: Tree) extends Tree with TermTree with Product with Serializable

    Either an assignment or a named argument.

  30. class BackQuotedIdent extends Ident

  31. case class Bind(name: Name, body: Tree) extends DefTree with Product with Serializable

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

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

    Block of expressions (semicolon separated expressions)

  33. type BoundedWildcardType = DummyMirror.this.DummyType.type

    BoundedWildcardTypes, used only during type inference, are created in two places that I can find:

    BoundedWildcardTypes, used only during type inference, are created in two places that I can find:

    1. If the expected type of an expression is an existential type, its hidden symbols are replaced with bounded wildcards. 2. When an implicit conversion is being sought based in part on the name of a method in the converted type, a HasMethodMatching type is created: a MethodType with parameters typed as BoundedWildcardTypes.
    Definition Classes
    DummyMirrorTypes
  34. abstract class BoundedWildcardTypeExtractor extends AnyRef

  35. case class CaseDef(pat: Tree, guard: Tree, body: Tree) extends Tree with Product with Serializable

    Case clause in a pattern match, eliminated during explicitouter (except for occurrences in switch statements)

  36. case class ClassDef(mods: Modifiers, name: TypeName, tparams: List[TypeDef], impl: Template) extends ImplDef with Product with Serializable

    A class definition.

  37. type ClassInfoType = DummyMirror.this.DummyType.type

    The ClassInfo type signature is used to define parents and declarations of classes, traits, and objects.

    The ClassInfo type signature is used to define parents and declarations of classes, traits, and objects. If a class, trait, or object C is declared like this

    C extends P_1 with ... with P_m { D_1; ...; D_n}

    its ClassInfo type has the following form:

    ClassInfo(List(P_1, ..., P_m), Scope(D_1, ..., D_n), C)
    Definition Classes
    DummyMirrorTypes
  38. abstract class ClassInfoTypeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ClassInfo(parents, decls, clazz) Here, parents is the list of parent types of the class, decls is the scope containing all declarations in the class, and clazz is the symbol of the class itself.

  39. type ClassSymbol = DummyClassSymbolApi

    Definition Classes
    DummyMirrorSymbols
  40. trait ClassSymbolApi extends TypeSymbolApi

  41. type ClassfileAnnotArg = AnyRef

    Definition Classes
    DummyMirrorAnnotationInfos
  42. class CollectTreeTraverser[T] extends Traverser

  43. type CompoundType = DummyMirror.this.DummyType.type

    A subtype of Type representing refined types as well as ClassInfo signatures.

    A subtype of Type representing refined types as well as ClassInfo signatures.

    Definition Classes
    DummyMirrorTypes
  44. case class CompoundTypeTree(templ: Template) extends Tree with TypTree with Product with Serializable

    Intersection type <parent1> with .

  45. trait ConcreteTypeTag[T] extends TypeTag[T] with ClassTag[T] with Equals with Serializable

    If an implicit value of type u.

  46. type Constant = DummyMirror.this.DummyConstant.type

    Definition Classes
    DummyMirrorConstants
  47. abstract class ConstantExtractor extends AnyRef

  48. type ConstantType = DummyMirror.this.DummyType.type

    The ConstantType type is not directly written in user programs, but arises as the type of a constant.

    The ConstantType type is not directly written in user programs, but arises as the type of a constant. The REPL expresses constant types like Int(11). Here are some constants with their types.

    1           ConstantType(Constant(1))
    "abc"       ConstantType(Constant("abc"))
    Definition Classes
    DummyMirrorTypes
  49. abstract class ConstantTypeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ConstantType(constant) Here, constant is the constant value represented by the type.

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

    A method or macro definition.

  51. abstract class DefTree extends Tree with SymTree with NameTree

    A tree which defines a symbol-carrying entity.

  52. trait DummyClassSymbolApi extends DummyTypeSymbolApi with ClassSymbolApi

  53. trait DummyMethodSymbolApi extends DummyTermSymbolApi with MethodSymbolApi

  54. trait DummyModuleSymbolApi extends DummyTermSymbolApi with ModuleSymbolApi

  55. trait DummyPackageSymbolApi extends DummyModuleSymbolApi with PackageSymbolApi

  56. trait DummySymbolApi extends AbsSymbol

  57. trait DummyTermSymbolApi extends DummySymbolApi with TermSymbolApi

  58. trait DummyTypeSymbolApi extends DummySymbolApi with TypeSymbolApi

  59. type ExistentialType = DummyMirror.this.DummyType.type

    Definition Classes
    DummyMirrorTypes
  60. abstract class ExistentialTypeExtractor extends AnyRef

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

  62. case class Expr[+T](tree: Tree, evidence$1: TypeTag[T]) extends Product with Serializable

    An expression tree tagged with its type

  63. class FilterTreeTraverser extends Traverser

  64. class FindTreeTraverser extends Traverser

  65. class ForeachTreeTraverser extends Traverser

  66. type FreeTerm = DummyMirror.this.DummyFreeTerm.type

    Represents a free term captured by reification.

    Represents a free term captured by reification.

    Definition Classes
    DummyMirrorFreeVars
  67. abstract class FreeTermExtractor extends AnyRef

  68. type FreeType = DummyMirror.this.DummyFreeType.type

    Represents a free type captured by reification.

    Represents a free type captured by reification.

    Definition Classes
    DummyMirrorFreeVars
  69. abstract class FreeTypeExtractor extends AnyRef

  70. trait FrontEnd extends AnyRef

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

    Anonymous function, eliminated by analyzer

  72. abstract class GenericApply extends Tree with TermTree

    Common base class for Apply and TypeApply.

  73. case class Ident(name: Name) extends Tree with RefTree with Product with Serializable

    Identifier <name>

  74. case class If(cond: Tree, thenp: Tree, elsep: Tree) extends Tree with TermTree with Product with Serializable

    Conditional expression

  75. abstract class ImplDef extends MemberDef

    A common base class for class and object definitions.

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

    Import clause

  77. case class ImportSelector(name: Name, namePos: Int, rename: Name, renamePos: Int) extends Product with Serializable

    Import selector

  78. trait Importer extends AnyRef

  79. case class LabelDef(name: TermName, params: List[Ident], rhs: Tree) extends DefTree with TermTree with Product with Serializable

    A labelled expression.

  80. class LazyTreeCopier extends TreeCopierOps

  81. case class Literal(value: Constant) extends Tree with TermTree with Product with Serializable

    Literal

  82. type LiteralAnnotArg = DummyMirror.this.DummyLiteralAnnotArg.type

    Definition Classes
    DummyMirrorAnnotationInfos
  83. abstract class LiteralAnnotArgExtractor extends AnyRef

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

    - Pattern matching expression (before explicitouter)

  85. abstract class MemberDef extends DefTree

    Common base class for all member definitions: types, classes, objects, packages, vals and vars, defs.

  86. type MethodSymbol = DummyMethodSymbolApi

    Definition Classes
    DummyMirrorSymbols
  87. trait MethodSymbolApi extends TermSymbolApi

  88. type MethodType = DummyMirror.this.DummyType.type

    The MethodType type signature is used to indicate parameters and result type of a method

    The MethodType type signature is used to indicate parameters and result type of a method

    Definition Classes
    DummyMirrorTypes
  89. abstract class MethodTypeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax MethodType(params, respte) Here, params is a potentially empty list of parameter symbols of the method, and restpe is the result type of the method.

  90. type Modifiers = DummyMirror.this.DummyModifiers.type

    Definition Classes
    DummyMirrorTrees
  91. case class ModuleDef(mods: Modifiers, name: TermName, impl: Template) extends ImplDef with Product with Serializable

    An object definition, e.

  92. type ModuleSymbol = DummyModuleSymbolApi

    Definition Classes
    DummyMirrorSymbols
  93. trait ModuleSymbolApi extends TermSymbolApi

  94. type Name = DummyMirror.this.DummyName.type

    The abstract type of names

    The abstract type of names

    Definition Classes
    DummyMirrorNames
  95. trait NameTree extends Tree

    A tree with a name - effectively, a DefTree or RefTree.

  96. type NestedAnnotArg = DummyMirror.this.DummyNestedAnnotArg.type

    Definition Classes
    DummyMirrorAnnotationInfos
  97. abstract class NestedAnnotArgExtractor extends AnyRef

  98. case class New(tpt: Tree) extends Tree with TermTree with Product with Serializable

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

  99. type NullaryMethodType = DummyMirror.this.DummyType.type

    Definition Classes
    DummyMirrorTypes
  100. abstract class NullaryMethodTypeExtractor extends AnyRef

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

    A packaging, such as package pid { stats }

  102. type PackageSymbol = DummyPackageSymbolApi

    Definition Classes
    DummyMirrorSymbols
  103. trait PackageSymbolApi extends ModuleSymbolApi

  104. type PolyType = DummyMirror.this.DummyType.type

    Definition Classes
    DummyMirrorTypes
  105. abstract class PolyTypeExtractor extends AnyRef

  106. type Position = DummyMirror.this.DummyPosition.type

    Definition Classes
    DummyMirrorPositions
  107. class RawTreePrinter extends TreePrinter

  108. trait RefTree extends Tree with SymTree with NameTree

    A tree which references a symbol-carrying entity.

  109. case class ReferenceToBoxed(ident: Ident) extends Tree with TermTree with Product with Serializable

    Marks underlying reference to id as boxed.

  110. type RefinedType = DummyMirror.this.DummyType.type

    The RefinedType type defines types of any of the forms on the left, with their RefinedType representations to the right.

    The RefinedType type defines types of any of the forms on the left, with their RefinedType representations to the right.

    P_1 with ... with P_m { D_1; ...; D_n}      RefinedType(List(P_1, ..., P_m), Scope(D_1, ..., D_n))
    P_1 with ... with P_m                       RefinedType(List(P_1, ..., P_m), Scope())
    { D_1; ...; D_n}                            RefinedType(List(AnyRef), Scope(D_1, ..., D_n))
    Definition Classes
    DummyMirrorTypes
  111. abstract class RefinedTypeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax RefinedType(parents, decls) Here, parents is the list of parent types of the class, and decls is the scope containing all declarations in the class.

  112. case class Return(expr: Tree) extends Tree with TermTree with SymTree with Product with Serializable

    Return expression

  113. type Scope = DummyMirror.this.DummyScope.type

    Definition Classes
    DummyMirrorScopes
  114. case class Select(qualifier: Tree, name: Name) extends Tree with RefTree with Product with Serializable

    Designator <qualifier> .

  115. case class SelectFromTypeTree(qualifier: Tree, name: TypeName) extends Tree with TypTree with RefTree with Product with Serializable

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

  116. class SilentFrontEnd extends FrontEnd

  117. type SingleType = DummyMirror.this.DummyType.type

    The SingleType type describes types of any of the forms on the left, with their TypeRef representations to the right.

    The SingleType type describes types of any of the forms on the left, with their TypeRef representations to the right.

    (T # x).type             SingleType(T, x)
    p.x.type                 SingleType(p.type, x)
    x.type                   SingleType(NoPrefix, x)
    Definition Classes
    DummyMirrorTypes
  118. abstract class SingleTypeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax SingleType(pre, sym) Here, pre is the prefix of the single-type, and sym is the stable value symbol referred to by the single-type.

  119. type SingletonType = DummyMirror.this.DummyType.type

    The type of Scala singleton types, i.

    The type of Scala singleton types, i.e. types that are inhabited by only one nun-null value. These include types of the forms

    C.this.type
    C.super.type
    x.type

    as well as constant types.

    Definition Classes
    DummyMirrorTypes
  120. case class SingletonTypeTree(ref: Tree) extends Tree with TypTree with Product with Serializable

    Singleton type, eliminated by RefCheck

  121. case class Star(elem: Tree) extends Tree with TermTree with Product with Serializable

    Repetition of pattern, eliminated by explicitouter

  122. class StrictTreeCopier extends TreeCopierOps

  123. case class Super(qual: Tree, mix: TypeName) extends Tree with TermTree with Product with Serializable

    Super reference, qual = corresponding this reference A super reference C.

  124. type SuperType = DummyMirror.this.DummyType.type

    The SuperType type is not directly written, but arises when C.super is used as a prefix in a TypeRef or SingleType.

    The SuperType type is not directly written, but arises when C.super is used as a prefix in a TypeRef or SingleType. It's internal presentation is

    SuperType(thistpe, supertpe)

    Here, thistpe is the type of the corresponding this-type. For instance, in the type arising from C.super, the thistpe part would be ThisType(C). supertpe is the type of the super class referred to by the super.

    Definition Classes
    DummyMirrorTypes
  125. abstract class SuperTypeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax SingleType(thistpe, supertpe)

  126. trait SymTree extends Tree

    A tree with a mutable symbol field, initialized to NoSymbol.

  127. type Symbol = DummySymbolApi

    Definition Classes
    DummyMirrorSymbols
  128. case class Template(parents: List[Tree], self: ValDef, body: List[Tree]) extends Tree with SymTree with Product with Serializable

    Instantiation template of a class or trait

  129. type TermName = DummyMirror.this.DummyName.type

    The abstract type of names representing types

    The abstract type of names representing types

    Definition Classes
    DummyMirrorNames
  130. type TermSymbol = DummyTermSymbolApi

    Definition Classes
    DummyMirrorSymbols
  131. trait TermSymbolApi extends AnyRef

  132. trait TermTree extends Tree

    A tree for a term.

  133. case class This(qual: TypeName) extends Tree with TermTree with SymTree with Product with Serializable

    Self reference

  134. type ThisType = DummyMirror.this.DummyType.type

    The ThisType type describes types of the form on the left with the correspnding ThisType representations to the right.

    The ThisType type describes types of the form on the left with the correspnding ThisType representations to the right.

    C.this.type             ThisType(C)
    Definition Classes
    DummyMirrorTypes
  135. abstract class ThisTypeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ThisType(sym) where sym is the class prefix of the this type.

  136. case class Throw(expr: Tree) extends Tree with TermTree with Product with Serializable

    Throw expression

  137. abstract type ToolBox <: AbsToolBox

    Definition Classes
    ToolBoxes
  138. abstract class Transformer extends AnyRef

  139. class Traverser extends AnyRef

  140. abstract class Tree extends Product

    Tree is the basis for scala's abstract syntax.

  141. type TreeCopier = DummyMirror.this.DummyTreeCopier.type

    Definition Classes
    DummyMirrorTrees
  142. trait TreeCopierOps extends AnyRef

  143. abstract type TreeGen <: AbsTreeGen

    Definition Classes
    TreeBuildUtil
  144. trait TreePrinter extends AnyRef

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

  146. trait TypTree extends Tree

    A tree for a type.

  147. type Type = DummyMirror.this.DummyType.type

    The type of Scala types, and also Scala type signatures.

    The type of Scala types, and also Scala type signatures. (No difference is internally made between the two).

    Definition Classes
    DummyMirrorTypes
  148. case class TypeApply(fun: Tree, args: List[Tree]) extends GenericApply with Product with Serializable

    Explicit type application.

  149. type TypeBounds = DummyMirror.this.DummyType.type

    The TypeBounds type signature is used to indicate lower and upper type bounds of type parameters and abstract types.

    The TypeBounds type signature is used to indicate lower and upper type bounds of type parameters and abstract types. It is not a first-class type. If an abstract type or type parameter is declared with any of the forms on the left, its type signature is the TypeBounds type on the right.

    T >: L <: U               TypeBounds(L, U)
    T >: L                    TypeBounds(L, Any)
    T <: U                    TypeBounds(Nothing, U)
    Definition Classes
    DummyMirrorTypes
  150. abstract class TypeBoundsExtractor extends AnyRef

    An extractor class to create and pattern match with syntax TypeBound(lower, upper) Here, lower is the lower bound of the TypeBounds pair, and upper is the upper bound.

  151. case class TypeBoundsTree(lo: Tree, hi: Tree) extends Tree with TypTree with Product with Serializable

  152. case class TypeDef(mods: Modifiers, name: TypeName, tparams: List[TypeDef], rhs: Tree) extends MemberDef with Product with Serializable

    An abstract type, a type parameter, or a type alias.

  153. type TypeName = DummyMirror.this.DummyName.type

    The abstract type of names representing terms

    The abstract type of names representing terms

    Definition Classes
    DummyMirrorNames
  154. type TypeRef = DummyMirror.this.DummyType.type

    The TypeRef type describes types of any of the forms on the left, with their TypeRef representations to the right.

    The TypeRef type describes types of any of the forms on the left, with their TypeRef representations to the right.

    T # C[T_1, ..., T_n]      TypeRef(T, C, List(T_1, ..., T_n))
    p.C[T_1, ..., T_n]        TypeRef(p.type, C, List(T_1, ..., T_n))
    C[T_1, ..., T_n]          TypeRef(NoPrefix, C, List(T_1, ..., T_n))
    T # C                     TypeRef(T, C, Nil)
    p.C                       TypeRef(p.type, C, Nil)
    C                         TypeRef(NoPrefix, C, Nil)
    Definition Classes
    DummyMirrorTypes
  155. abstract class TypeRefExtractor extends AnyRef

    An extractor class to create and pattern match with syntax TypeRef(pre, sym, args) Here, pre is the prefix of the type reference, sym is the symbol referred to by the type reference, and args is a possible empty list of type argumenrts.

  156. type TypeSymbol = DummyTypeSymbolApi

    Definition Classes
    DummyMirrorSymbols
  157. trait TypeSymbolApi extends AnyRef

  158. trait TypeTag[T] extends ErasureTag[T] with Equals with Serializable

    If an implicit value of type u.

  159. case class TypeTree() extends Tree with TypTree with Product with Serializable

    A synthetic tree holding an arbitrary type.

  160. case class Typed(expr: Tree, tpt: Tree) extends Tree with TermTree with Product with Serializable

    Type annotation, eliminated by explicit outer

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

  162. case class ValDef(mods: Modifiers, name: TermName, tpt: Tree, rhs: Tree) extends ValOrDefDef with Product with Serializable

    Broadly speaking, a value definition.

  163. abstract class ValOrDefDef extends MemberDef

    A common base class for ValDefs and DefDefs.

Value Members

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

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

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

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

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

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

    Implicit information
    This member is added by an implicit conversion from DummyMirror to ArrowAssoc[DummyMirror] 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

    Test two objects for equality.

    Test two objects for equality. The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  8. val AnnotatedType: AnnotatedTypeExtractor

    Definition Classes
    DummyMirrorTypes
  9. val AnnotationInfo: AnnotationInfoExtractor

    Definition Classes
    DummyMirrorAnnotationInfos
  10. val AnyRefTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  11. val AnyTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  12. val AnyValTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  13. def Apply(sym: Symbol, args: Tree*): Tree

    Definition Classes
    DummyMirrorTrees
  14. val ArrayAnnotArg: ArrayAnnotArgExtractor

    Definition Classes
    DummyMirrorAnnotationInfos
  15. def Bind(sym: Symbol, body: Tree): Bind

    Definition Classes
    DummyMirrorTrees
  16. def Block(stats: Tree*): Block

    Block factory that flattens directly nested blocks.

    Block factory that flattens directly nested blocks.

    Definition Classes
    DummyMirrorTrees
  17. val BooleanTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  18. val BoundedWildcardType: BoundedWildcardTypeExtractor

    Definition Classes
    DummyMirrorTypes
  19. val ByteTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  20. def CaseDef(pat: Tree, body: Tree): CaseDef

    casedef shorthand

    casedef shorthand

    Definition Classes
    DummyMirrorTrees
  21. val CharTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  22. def ClassDef(sym: Symbol, impl: Template): ClassDef

    sym

    the class symbol

    returns

    the implementation template

    Definition Classes
    DummyMirrorTrees
  23. val ClassInfoType: ClassInfoTypeExtractor

    The constructor/deconstructor for ClassInfoType instances.

    The constructor/deconstructor for ClassInfoType instances.

    Definition Classes
    DummyMirrorTypes
  24. object ConcreteTypeTag extends Serializable

  25. val Constant: ConstantExtractor

    Definition Classes
    DummyMirrorConstants
  26. val ConstantType: ConstantTypeExtractor

    The constructor/deconstructor for ConstantType instances.

    The constructor/deconstructor for ConstantType instances.

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

    Definition Classes
    DummyMirrorTrees
  28. def DefDef(sym: Symbol, vparamss: List[List[ValDef]], rhs: Tree): DefDef

    Definition Classes
    DummyMirrorTrees
  29. def DefDef(sym: Symbol, mods: Modifiers, rhs: Tree): DefDef

    Definition Classes
    DummyMirrorTrees
  30. def DefDef(sym: Symbol, rhs: Tree): DefDef

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

    Definition Classes
    DummyMirrorTrees
  32. val DoubleTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  33. object DummyAbsTermNames extends AbsTermNames

  34. object DummyAbsTypeNames extends AbsTypeNames

  35. object DummyAnnotatedTypeExtractor extends AnnotatedTypeExtractor

  36. object DummyAnnotationInfo extends AnyRef

  37. object DummyAnnotationInfoExtractor extends AnnotationInfoExtractor

  38. object DummyArrayAnnotArg extends AnyRef

  39. object DummyArrayAnnotArgExtractor extends ArrayAnnotArgExtractor

  40. object DummyBoundedWildcardTypeExtractor extends BoundedWildcardTypeExtractor

  41. object DummyClassInfoTypeExtractor extends ClassInfoTypeExtractor

  42. object DummyClassSymbol extends DummyClassSymbolApi

  43. object DummyConstant extends AbsConstant

  44. object DummyConstantExtractor extends ConstantExtractor

  45. object DummyConstantTypeExtractor extends ConstantTypeExtractor

  46. object DummyDefinitions extends AbsDefinitions

  47. object DummyExistentialTypeExtractor extends ExistentialTypeExtractor

  48. val DummyFreeTerm: DummyMirror.this.DummySymbol.type

  49. object DummyFreeTermExtractor extends FreeTermExtractor

  50. val DummyFreeType: DummyMirror.this.DummySymbol.type

  51. object DummyFreeTypeExtractor extends FreeTypeExtractor

  52. object DummyLiteralAnnotArg extends AnyRef

  53. object DummyLiteralAnnotArgExtractor extends LiteralAnnotArgExtractor

  54. object DummyMethodSymbol extends DummyMethodSymbolApi

  55. object DummyMethodTypeExtractor extends MethodTypeExtractor

  56. object DummyModifiers extends AbsModifiers

  57. object DummyModuleSymbol extends DummyModuleSymbolApi

  58. object DummyName extends AbsName

  59. object DummyNestedAnnotArg extends AnyRef

  60. object DummyNestedAnnotArgExtractor extends NestedAnnotArgExtractor

  61. object DummyNullaryMethodTypeExtractor extends NullaryMethodTypeExtractor

  62. object DummyPackageSymbol extends DummyPackageSymbolApi

  63. object DummyPolyTypeExtractor extends PolyTypeExtractor

  64. object DummyPosition extends Position

  65. object DummyRefinedTypeExtractor extends RefinedTypeExtractor

  66. object DummyScope extends Iterable[Symbol]

  67. object DummySingleTypeExtractor extends SingleTypeExtractor

  68. object DummySuperTypeExtractor extends SuperTypeExtractor

  69. object DummySymbol extends DummySymbolApi

  70. object DummyTermSymbol extends DummyTermSymbolApi

  71. object DummyThisTypeExtractor extends ThisTypeExtractor

  72. object DummyTreeCopier extends TreeCopierOps

  73. object DummyTreeGen extends AbsTreeGen

  74. object DummyType extends AbsType

  75. object DummyTypeBoundsExtractor extends TypeBoundsExtractor

  76. object DummyTypeRefExtractor extends TypeRefExtractor

  77. object DummyTypeSymbol extends DummyTypeSymbolApi

  78. def EmptyTermName: TermName

    Definition Classes
    Names
  79. object EmptyTree extends Tree with TermTree with Product with Serializable

    The empty tree

  80. def EmptyTypeName: TypeName

    Definition Classes
    Names
  81. val ExistentialType: ExistentialTypeExtractor

    Definition Classes
    DummyMirrorTypes
  82. val FloatTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  83. val FreeTerm: FreeTermExtractor

    Definition Classes
    DummyMirrorFreeVars
  84. val FreeType: FreeTypeExtractor

    Definition Classes
    DummyMirrorFreeVars
  85. def Ident(name: String): Ident

    Definition Classes
    DummyMirrorTrees
  86. def Ident(sym: Symbol): Ident

    Definition Classes
    DummyMirrorTrees
  87. val IntTpe: Type

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

    Definition Classes
    DummyMirrorTrees
  89. val LiteralAnnotArg: LiteralAnnotArgExtractor

    Definition Classes
    DummyMirrorAnnotationInfos
  90. val LongTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  91. val MethodType: MethodTypeExtractor

    The constructor/deconstructor for MethodType instances.

    The constructor/deconstructor for MethodType instances.

    Definition Classes
    DummyMirrorTypes
  92. def Modifiers(mods: Set[Modifier], privateWithin: Name, annotations: List[Tree]): Modifiers

    Definition Classes
    DummyMirrorTrees
  93. def ModuleDef(sym: Symbol, impl: Template): ModuleDef

    sym

    the class symbol

    impl

    the implementation template

    Definition Classes
    DummyMirrorTrees
  94. val NestedAnnotArg: NestedAnnotArgExtractor

    Definition Classes
    DummyMirrorAnnotationInfos
  95. def New(tpt: Tree, argss: List[List[Tree]]): Tree

    Factory method for object creation new tpt(args_1)...(args_n) A New(t, as) is expanded to: (new t).<init>(as)

    Factory method for object creation new tpt(args_1)...(args_n) A New(t, as) is expanded to: (new t).<init>(as)

    Definition Classes
    DummyMirrorTrees
  96. def New(tpe: Type, args: Tree*): Tree

    0-1 argument list new, based on a type.

    0-1 argument list new, based on a type.

    Definition Classes
    DummyMirrorTrees
  97. def New(sym: Symbol, args: Tree*): Tree

    Definition Classes
    DummyMirrorTrees
  98. val NoMods: Modifiers

    Definition Classes
    DummyMirrorTrees
  99. val NoPosition: Position

    Definition Classes
    DummyMirrorPositions
  100. val NoPrefix: Type

    This constant is used as a special value denoting the empty prefix in a path dependent type.

    This constant is used as a special value denoting the empty prefix in a path dependent type. For instance x.type is represented as SingleType(NoPrefix, <x>), where <x> stands for the symbol for x.

    Definition Classes
    DummyMirrorTypes
  101. val NoSymbol: DummyMirror.this.DummySymbol.type

    Definition Classes
    DummyMirrorSymbols
  102. val NoType: Type

    This constant is used as a special value that indicates that no meaningful type exists.

    This constant is used as a special value that indicates that no meaningful type exists.

    Definition Classes
    DummyMirrorTypes
  103. val NothingTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  104. val NullTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  105. val NullaryMethodType: NullaryMethodTypeExtractor

    Definition Classes
    DummyMirrorTypes
  106. val ObjectTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  107. val PolyType: PolyTypeExtractor

    Definition Classes
    DummyMirrorTypes
  108. val RefinedType: RefinedTypeExtractor

    The constructor/deconstructor for RefinedType instances.

    The constructor/deconstructor for RefinedType instances.

    Definition Classes
    DummyMirrorTypes
  109. def Select(qualifier: Tree, name: String): Select

    Definition Classes
    DummyMirrorTrees
  110. def Select(qualifier: Tree, sym: Symbol): Select

    Definition Classes
    DummyMirrorTrees
  111. val ShortTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  112. val SingleType: SingleTypeExtractor

    The constructor/deconstructor for SingleType instances.

    The constructor/deconstructor for SingleType instances.

    Definition Classes
    DummyMirrorTypes
  113. val StringTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  114. def Super(sym: Symbol, mix: TypeName): Tree

    Definition Classes
    DummyMirrorTrees
  115. val SuperType: SuperTypeExtractor

    The constructor/deconstructor for SuperType instances.

    The constructor/deconstructor for SuperType instances.

    Definition Classes
    DummyMirrorTypes
  116. def This(sym: Symbol): Tree

    Definition Classes
    DummyMirrorTrees
  117. val ThisType: ThisTypeExtractor

    The constructor/deconstructor for ThisType instances.

    The constructor/deconstructor for ThisType instances.

    Definition Classes
    DummyMirrorTypes
  118. def Throw(tpe: Type, args: Tree*): Throw

    Definition Classes
    DummyMirrorTrees
  119. def Try(body: Tree, cases: (Tree, Tree)*): Try

    Definition Classes
    DummyMirrorTrees
  120. val TypeBounds: TypeBoundsExtractor

    The constructor/deconstructor for TypeBounds instances.

    The constructor/deconstructor for TypeBounds instances.

    Definition Classes
    DummyMirrorTypes
  121. def TypeDef(sym: Symbol, rhs: Tree): TypeDef

    A TypeDef node which defines given sym with given tight hand side rhs.

    A TypeDef node which defines given sym with given tight hand side rhs.

    Definition Classes
    DummyMirrorTrees
  122. def TypeDef(sym: Symbol): TypeDef

    A TypeDef node which defines abstract type or type parameter for given sym

    A TypeDef node which defines abstract type or type parameter for given sym

    Definition Classes
    DummyMirrorTrees
  123. val TypeRef: TypeRefExtractor

    The constructor/deconstructor for TypeRef instances.

    The constructor/deconstructor for TypeRef instances.

    Definition Classes
    DummyMirrorTypes
  124. object TypeTag extends Serializable

  125. def TypeTree(tp: Type): TypeTree

    Definition Classes
    Trees
  126. val UnitTpe: Type

    Definition Classes
    DummyMirrorStandardTypes
  127. def ValDef(sym: Symbol, rhs: Tree): ValDef

    Definition Classes
    DummyMirrorTrees
  128. def ValDef(sym: Symbol): ValDef

    Definition Classes
    DummyMirrorTrees
  129. val WildcardType: Type

    An object representing an unknown type, used during type inference.

    An object representing an unknown type, used during type inference. If you see WildcardType outside of inference it is almost certainly a bug.

    Definition Classes
    DummyMirrorTypes
  130. def appliedType(tycon: Type, args: List[Type]): Type

    A creator for type applications

    A creator for type applications

    Definition Classes
    DummyMirrorTypes
  131. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown
    ClassCastException

    if the receiver object is not an instance of the erasure of type T0.

  132. def atPos[T <: Tree](pos: Position)(tree: T): T

    Assigns a given position to all position-less nodes of a given AST.

    Assigns a given position to all position-less nodes of a given AST.

    Definition Classes
    DummyMirrorPositions
  133. def classLoader: ClassLoader

    Class loader that is a mastermind behind the reflexive mirror.

    Class loader that is a mastermind behind the reflexive mirror.

    By default it is set to system classloader (more precisely, to the classloader that loads the scala.reflect.package class). However, sometimes it is useful to have a mirror services by a custom classloader.

    There are two ways to customize the classLoader: 1) Create a new mirror using the scala.reflect.mkMirror(classLoader: ClassLoader) method 2) Set classLoader to the new value

    The first, immutable, way should be strongly preferred in most situation. However sometimes it is necessary to migrate the default reflexive mirror (scala.reflect.mirror) to a new classloader. In that and only that case, use the setter, but be very careful not to introduce inconsistencies.

    Definition Classes
    DummyMirrorMirror
  134. def classLoader_=(arg0: ClassLoader): Unit

    Class loader that is a mastermind behind the reflexive mirror.

    Class loader that is a mastermind behind the reflexive mirror.

    By default it is set to system classloader (more precisely, to the classloader that loads the scala.reflect.package class). However, sometimes it is useful to have a mirror services by a custom classloader.

    There are two ways to customize the classLoader: 1) Create a new mirror using the scala.reflect.mkMirror(classLoader: ClassLoader) method 2) Set classLoader to the new value

    The first, immutable, way should be strongly preferred in most situation. However sometimes it is necessary to migrate the default reflexive mirror (scala.reflect.mirror) to a new classloader. In that and only that case, use the setter, but be very careful not to introduce inconsistencies.

    Definition Classes
    DummyMirrorMirror
  135. def classToSymbol(clazz: Class[_]): Symbol

    Maps a Java class to a Scala class symbol

    Maps a Java class to a Scala class symbol

    clazz

    The Java class object

    returns

    A symbol that represents the Scala view of the class.

    Definition Classes
    DummyMirrorMirror
  136. def classToType(clazz: Class[_]): Type

    Maps a Java class to a Scala type reference

    Maps a Java class to a Scala type reference

    clazz

    The Java class object

    returns

    A type (of kind TypeRef, or ExistentialType if clazz is polymorphic) that represents the class with all type parameters unknown (i.e. any type parameters of clazz are existentially quantified).

    Definition Classes
    DummyMirrorMirror
  137. implicit def classfileAnnotArgTag: ClassTag[ClassfileAnnotArg]

    Definition Classes
    DummyMirrorAnnotationInfos
  138. def clone(): AnyRef

    Create a copy of the receiver object.

    Create a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  139. def companionInstance(clazz: Symbol): AnyRef

    Return a reference to the companion object of the given class symbol.

    Return a reference to the companion object of the given class symbol.

    Definition Classes
    DummyMirrorMirror
  140. def copyClassDef(tree: Tree)(mods: Modifiers = null, name: Name = null, tparams: List[TypeDef] = null, impl: Template = null): ClassDef

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

    Definition Classes
    Trees
  142. def copyValDef(tree: Tree)(mods: Modifiers = null, name: Name = null, tpt: Tree = null, rhs: Tree = null): ValDef

    Definition Classes
    Trees
  143. val definitions: AbsDefinitions

    Definition Classes
    DummyMirrorStandardDefinitions
  144. def deriveCaseDef(cdef: Tree)(applyToBody: (Tree) ⇒ Tree): CaseDef

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

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

    Definition Classes
    Trees
  147. def deriveLabelDef(ldef: Tree)(applyToRhs: (Tree) ⇒ Tree): LabelDef

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

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

    Definition Classes
    Trees
  150. def deriveValDef(vdef: Tree)(applyToRhs: (Tree) ⇒ Tree): ValDef

    Definition Classes
    Trees
  151. def duplicateTree(tree: Tree): Tree

    Attributes
    protected
    Definition Classes
    DummyMirrorTrees
  152. object emptyValDef extends ValDef

    An empty deferred value definition corresponding to: val _: _ This is used as a placeholder in the self parameter Template if there is no definition of a self value of self type.

  153. def ensureNonOverlapping(tree: Tree, others: List[Tree]): Unit

    Ensure that given tree has no positions that overlap with any of the positions of others.

    Ensure that given tree has no positions that overlap with any of the positions of others. This is done by shortening the range or assigning TransparentPositions to some of the nodes in tree.

    Definition Classes
    DummyMirrorPositions
  154. def ensuring(cond: (DummyMirror) ⇒ Boolean, msg: ⇒ Any): DummyMirror

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

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

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

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

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an equivalence relation on non-null instances of AnyRef, and has three additional properties:

    • It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false.
    • For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false.
    • null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    returns

    true if the argument is a reference to the receiver object; false otherwise.

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

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to eq.

    See also equals in Any.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    AnyRef → Any
  160. def existentialAbstraction(tparams: List[Symbol], tpe0: Type): Type

    A creator for existential types.

    A creator for existential types. This generates:

    tpe1 where { tparams }

    where tpe1 is the result of extrapolating tpe wrt to tparams. Extrapolating means that type variables in tparams occurring in covariant positions are replaced by upper bounds, (minus any SingletonClass markers), type variables in tparams occurring in contravariant positions are replaced by upper bounds, provided the resulting type is legal wrt to stability, and does not contain any type variable in tparams.

    The abstraction drops all type parameters that are not directly or indirectly referenced by type tpe1. If there are no remaining type parameters, simply returns result type tpe.

    Definition Classes
    DummyMirrorTypes
  161. def finalize(): Unit

    Called by the garbage collector on the receiver object when there are no more references to the object.

    Called by the garbage collector on the receiver object when there are no more references to the object.

    The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  162. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from DummyMirror to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  163. def freeTerms(tree: Tree): List[FreeTerm]

    Extracts free terms from a tree that is reified or contains reified subtrees.

    Extracts free terms from a tree that is reified or contains reified subtrees.

    Definition Classes
    DummyMirrorFreeVars
  164. def freeTypes(tree: Tree): List[FreeType]

    Extracts free types from a tree that is reified or contains reified subtrees.

    Extracts free types from a tree that is reified or contains reified subtrees.

    Definition Classes
    DummyMirrorFreeVars
  165. val gen: TreeGen { val global: DummyMirror.this.type }

    Definition Classes
    DummyMirrorTreeBuildUtil
  166. final def getClass(): Class[_]

    A representation that corresponds to the dynamic class of the receiver object.

    A representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

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

    Definition Classes
    AnyRef → Any
    Note

    not specified by SLS as a member of AnyRef

  167. def getValueOfField(receiver: AnyRef, field: Symbol): Any

    The value of a field on a receiver instance.

    The value of a field on a receiver instance.

    receiver

    The receiver instance

    field

    The field

    returns

    The value contained in receiver.field.

    Definition Classes
    DummyMirrorMirror
  168. def glb(ts: List[Type]): Type

    The greatest lower bound wrt <:< of a list of types

    The greatest lower bound wrt <:< of a list of types

    Definition Classes
    DummyMirrorTypes
  169. def hashCode(): Int

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in Any.

    returns

    the hash code value for this object.

    Definition Classes
    AnyRef → Any
  170. def intersectionType(tps: List[Type]): Type

    A creator for intersection type where intersections of a single type are replaced by the type itself.

    A creator for intersection type where intersections of a single type are replaced by the type itself.

    Definition Classes
    DummyMirrorTypes
  171. def intersectionType(tps: List[Type], owner: Symbol): Type

    A creator for intersection type where intersections of a single type are replaced by the type itself, and repeated parent classes are merged.

    A creator for intersection type where intersections of a single type are replaced by the type itself, and repeated parent classes are merged.

    !!! Repeated parent classes are not merged - is this a bug in the comment or in the code?

    Definition Classes
    DummyMirrorTypes
  172. def invoke(receiver: AnyRef, meth: Symbol)(args: Any*): Any

    Invokes a method on a receiver instance with some arguments

    Invokes a method on a receiver instance with some arguments

    receiver

    The receiver instance

    meth

    The method

    args

    The method call's arguments

    returns

    The result of invoking receiver.meth(args)

    Definition Classes
    DummyMirrorMirror
  173. final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  174. def lub(xs: List[Type]): Type

    The least upper bound wrt <:< of a list of types

    The least upper bound wrt <:< of a list of types

    Definition Classes
    DummyMirrorTypes
  175. def mkConsoleFrontEnd(minSeverity: Int): FrontEnd

    Creates a reporter that prints messages to the console according to the settings.

    Creates a reporter that prints messages to the console according to the settings.

    minSeverity determines minimum severity of the messages to be printed. 0 stands for INFO, 1 stands for WARNING and 2 stands for ERROR.

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

    Definition Classes
    DummyMirrorImporters
  177. def mkSilentFrontEnd(): FrontEnd

    Creates a UI-less reporter that simply accumulates all the messages

    Creates a UI-less reporter that simply accumulates all the messages

    Definition Classes
    FrontEnds
  178. def mkToolBox(frontEnd: FrontEnd, options: String): AbsToolBox

    Definition Classes
    DummyMirrorToolBoxes
  179. def modifiersFromInternalFlags(flags: Long, privateWithin: Name, annotations: List[Tree]): Modifiers

    Create a Modiiers structure given internal flags, qualifier, annotations

    Create a Modiiers structure given internal flags, qualifier, annotations

    Definition Classes
    DummyMirrorTreeBuildUtil
  180. final def ne(arg0: AnyRef): Boolean

    Equivalent to !(this eq that).

    Equivalent to !(this eq that).

    returns

    true if the argument is not a reference to the receiver object; false otherwise.

    Definition Classes
    AnyRef
  181. def newFreeExistential(name: String, info: Type, value: ⇒ Any, flags: Long, origin: String): DummySymbol

    Create a fresh free existential type symbol.

    Create a fresh free existential type symbol.

    name

    the name of the free variable

    info

    the type signature of the free variable

    value

    a type tag that captures the value of the free variable is completely phantom, since the captured type cannot be propagated to the runtime if it could be, we wouldn't be creating a free type to begin with the only usage for it is preserving the captured symbol for compile-time analysis

    flags

    (optional) flags of the free variable

    origin

    (optional) debug information that tells where this symbol comes from

    Definition Classes
    DummyMirrorTreeBuildUtil
  182. def newFreeTerm(name: String, info: Type, value: ⇒ Any, flags: Long, origin: String): DummySymbol

    Create a fresh free term symbol.

    Create a fresh free term symbol.

    name

    the name of the free variable

    info

    the type signature of the free variable

    value

    the value of the free variable at runtime

    flags

    (optional) flags of the free variable

    origin

    debug information that tells where this symbol comes from

    Definition Classes
    DummyMirrorTreeBuildUtil
  183. def newFreeType(name: String, info: Type, value: ⇒ Any, flags: Long, origin: String): DummySymbol

    Create a fresh free non-existential type symbol.

    Create a fresh free non-existential type symbol.

    name

    the name of the free variable

    info

    the type signature of the free variable

    value

    a type tag that captures the value of the free variable is completely phantom, since the captured type cannot be propagated to the runtime if it could be, we wouldn't be creating a free type to begin with the only usage for it is preserving the captured symbol for compile-time analysis

    flags

    (optional) flags of the free variable

    origin

    debug information that tells where this symbol comes from

    Definition Classes
    DummyMirrorTreeBuildUtil
  184. def newLazyTreeCopier: TreeCopier

    Definition Classes
    DummyMirrorTrees
  185. def newNestedScope(outer: Scope): Scope

    Create a new scope nested in another one with which it shares its elements

    Create a new scope nested in another one with which it shares its elements

    Definition Classes
    DummyMirrorScopes
  186. def newScope: Scope

    Create a new scope

    Create a new scope

    Definition Classes
    DummyMirrorScopes
  187. def newScopeWith(elems: Symbol*): Scope

    Create a new scope with given initial elements

    Create a new scope with given initial elements

    Definition Classes
    DummyMirrorScopes
  188. def newStrictTreeCopier: TreeCopier

    Definition Classes
    DummyMirrorTrees
  189. def newTermName(s: String): TermName

    Create a new term name.

    Create a new term name.

    Definition Classes
    DummyMirrorNames
  190. def newTreePrinter(out: PrintWriter): TreePrinter

    Hook to define what show(tree) means.

    Hook to define what show(tree) means.

    Definition Classes
    DummyMirrorTreePrinters
  191. def newTypeName(s: String): TypeName

    Creates a new type name.

    Creates a new type name.

    Definition Classes
    DummyMirrorNames
  192. val nme: AbsTermNames

    Definition Classes
    DummyMirrorStandardNames
  193. def notSupported(): Nothing

  194. final def notify(): Unit

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

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

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  195. final def notifyAll(): Unit

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

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

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  196. def polyType(tparams: List[Symbol], tpe: Type): Type

    A creator for type parameterizations that strips empty type parameter lists.

    A creator for type parameterizations that strips empty type parameter lists. Use this factory method to indicate the type has kind * (it's a polymorphic value) until we start tracking explicit kinds equivalent to typeFun (except that the latter requires tparams nonEmpty).

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

    the canonical creator for a refined type with a given scope

    the canonical creator for a refined type with a given scope

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

    The canonical creator for a refined type with an initially empty scope.

    The canonical creator for a refined type with an initially empty scope.

    parents

    ...

    owner

    ...

    returns

    ...

    Definition Classes
    DummyMirrorTypes
  199. def reify[T](expr: T): Expr[T]

    Given an expression, generate a tree that when compiled and executed produces the original tree.

    Given an expression, generate a tree that when compiled and executed produces the original tree. The produced tree will be bound to the Universe it was called from.

    For instance, given the abstract syntax tree representation of the <[ x + 1 ]> expression:

    Apply(Select(Ident("x"), "+"), List(Literal(Constant(1))))

    The reifier transforms it to the following expression:

    <[ val $mr: scala.reflect.api.Universe = <reference to the Universe that calls the reify> $mr.Expr[Int]($mr.Apply($mr.Select($mr.Ident($mr.newFreeVar("x", <Int>, x), "+"), List($mr.Literal($mr.Constant(1)))))) ]>

    Reification performs expression splicing (when processing Expr.eval and Expr.value) and type splicing (for every type T that has a TypeTag[T] implicit in scope):

    val two = mirror.reify(2) // Literal(Constant(2)) val four = mirror.reify(two.eval + two.eval) // Apply(Select(two.tree, newTermName("$plus")), List(two.tree))

    def macroImpl[T](c: Context) = { ... // T here is just a type parameter, so the tree produced by reify won't be of much use in a macro expansion // however, if T were annotated with c.TypeTag (which would declare an implicit parameter for macroImpl) // then reification would subtitute T with the TypeTree that was used in a TypeApply of this particular macro invocation val factory = c.reify{ new Queryable[T] } ... }

    The transformation looks mostly straightforward, but it has its tricky parts: * Reifier retains symbols and types defined outside the reified tree, however locally defined entities get erased and replaced with their original trees * Free variables are detected and wrapped in symbols of the type FreeVar * Mutable variables that are accessed from a local function are wrapped in refs * Since reified trees can be compiled outside of the scope they've been created in, special measures are taken to ensure that all members accessed in the reifee remain visible

    Definition Classes
    Universe
    Annotations
    @macroImpl( referenceToMacroImpl = Universe.reify[T] )
  200. def selectOverloadedMethod(owner: Symbol, name: String, index: Int): DummySymbol

    Selects overloaded method symbol with given name and index Unlike selectOverloadedMethodIfDefined, throws MissingRequirementError is requested overloaded method cannot be found.

    Selects overloaded method symbol with given name and index Unlike selectOverloadedMethodIfDefined, throws MissingRequirementError is requested overloaded method cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtil
  201. def selectOverloadedMethodIfDefined(owner: Symbol, name: String, index: Int): DummySymbol

    Selects overloaded method symbol with given name and index Unlike selectOverloadedMethod, doesn't throw MissingRequirementError (returns NoSymbol) is requested overloaded method cannot be found.

    Selects overloaded method symbol with given name and index Unlike selectOverloadedMethod, doesn't throw MissingRequirementError (returns NoSymbol) is requested overloaded method cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtil
  202. def selectTerm(owner: Symbol, name: String): DummySymbol

    Selects term symbol with given name and type from the defined members of prefix type Unlike selectTermIfDefined, throws MissingRequirementError is requested term symbol cannot be found.

    Selects term symbol with given name and type from the defined members of prefix type Unlike selectTermIfDefined, throws MissingRequirementError is requested term symbol cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtil
  203. def selectTermIfDefined(owner: Symbol, name: String): DummySymbol

    Selects term symbol with given name and type from the defined members of prefix type Unlike selectTerm, doesn't throw MissingRequirementError (returns NoSymbol) is requested term symbol cannot be found.

    Selects term symbol with given name and type from the defined members of prefix type Unlike selectTerm, doesn't throw MissingRequirementError (returns NoSymbol) is requested term symbol cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtil
  204. def selectType(owner: Symbol, name: String): DummySymbol

    Selects type symbol with given simple name name from the defined members of owner.

    Selects type symbol with given simple name name from the defined members of owner. Unlike selectTypeIfDefined, throws MissingRequirementError is requested type symbol cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtil
  205. def selectTypeIfDefined(owner: Symbol, name: String): DummySymbol

    Selects type symbol with given simple name name from the defined members of owner.

    Selects type symbol with given simple name name from the defined members of owner. Unlike selectType, doesn't throw MissingRequirementError (returns NoSymbol) is requested type symbol cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtil
  206. val self: Any

    Implicit information
    This member is added by an implicit conversion from DummyMirror to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  207. val self: Any

    Implicit information
    This member is added by an implicit conversion from DummyMirror to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  208. def setValueOfField(receiver: AnyRef, field: Symbol, value: Any): Unit

    Sets the value of a field on a receiver instance.

    Sets the value of a field on a receiver instance.

    receiver

    The receiver instance

    field

    The field

    value

    The new value to be stored in the field.

    Definition Classes
    DummyMirrorMirror
  209. def show(tree: Tree, mkPrinter: (PrintWriter) ⇒ TreePrinter = newTreePrinter): String

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

    Definition Classes
    TreePrinters
  211. def singleType(pre: Type, sym: Symbol): Type

    The canonical creator for single-types

    The canonical creator for single-types

    Definition Classes
    DummyMirrorTypes
  212. def staticClass(fullName: String): DummySymbol

    The symbol corresponding to the globally accessible class with the given fully qualified name fullName.

    The symbol corresponding to the globally accessible class with the given fully qualified name fullName. Unlike staticClassIfDefined, throws MissingRequirementError is requested class cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtilClassLoaders
  213. def staticClassIfDefined(fullName: String): DummySymbol

    The symbol corresponding to the globally accessible class with the given fully qualified name fullName.

    The symbol corresponding to the globally accessible class with the given fully qualified name fullName. Unlike staticClass, doesn't throw MissingRequirementError (returns NoSymbol) is requested class cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtil
  214. def staticModule(fullName: String): DummySymbol

    The symbol corresponding to the globally accessible object with the given fully qualified name fullName.

    The symbol corresponding to the globally accessible object with the given fully qualified name fullName. Unlike staticModuleIfDefined, throws MissingRequirementError is requested object cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtilClassLoaders
  215. def staticModuleIfDefined(fullName: String): DummySymbol

    The symbol corresponding to the globally accessible object with the given fully qualified name fullName.

    The symbol corresponding to the globally accessible object with the given fully qualified name fullName. Unlike staticModule, doesn't throw MissingRequirementError (returns NoSymbol) is requested object cannot be found.

    Definition Classes
    DummyMirrorTreeBuildUtil
  216. def substituteFreeTypes(tree: Tree, subs: Map[FreeType, Type]): Tree

    Substitutes free types in a reified tree.

    Substitutes free types in a reified tree.

    Definition Classes
    DummyMirrorFreeVars
  217. def substituteFreeTypes(tpe: Type, subs: Map[FreeType, Type]): Type

    Substitutes free types in a reified type.

    Substitutes free types in a reified type.

    Definition Classes
    DummyMirrorFreeVars
  218. def symbolForName(name: String): Symbol

    The Scala class symbol that has given fully qualified name

    The Scala class symbol that has given fully qualified name

    name

    The fully qualified name of the class to be returned

    Definition Classes
    DummyMirrorMirror
    Exceptions thrown
    java.lang.ClassNotFoundException

    if no class with that name exists to do: throws anything else?

  219. def symbolOfInstance(instance: Any): Symbol

    The Scala class symbol corresponding to the runtime class of the given instance.

    The Scala class symbol corresponding to the runtime class of the given instance.

    instance

    The instance

    returns

    The class Symbol for the instance

    Definition Classes
    DummyMirrorMirror
    Exceptions thrown
    ?

  220. def symbolToClass(sym: Symbol): Class[_]

    Maps a Scala symbol to the corresponding Java class object

    Maps a Scala symbol to the corresponding Java class object

    Definition Classes
    DummyMirrorMirror
    Exceptions thrown
    ClassNotFoundException

    if there is no Java class corresponding to the given Scala symbol. Note: If the Scala symbol is ArrayClass, a ClassNotFound exception is thrown because there is no unique Java class corresponding to a Scala generic array

  221. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  222. def thisModuleType(fullName: String): Type

    The this-ptype of the globally accessible object with the given fully qualified name fullName.

    The this-ptype of the globally accessible object with the given fully qualified name fullName.

    Definition Classes
    DummyMirrorTreeBuildUtil
  223. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    AnyRef → Any
  224. val tpnme: AbsTypeNames

    Definition Classes
    DummyMirrorStandardNames
  225. val treeCopy: TreeCopier

    Definition Classes
    Trees
  226. def typeOfInstance(instance: Any): Type

    The Scala type corresponding to the runtime type of given instance.

    The Scala type corresponding to the runtime type of given instance. If the underlying class is parameterized, this will be an existential type, with unknown type arguments.

    instance

    The instance.

    returns

    The Type of the given instance.

    Definition Classes
    DummyMirrorMirror
    Exceptions thrown
    ?

  227. def typeRef(pre: Type, sym: Symbol, args: List[Type]): Type

    The canonical creator for typerefs

    The canonical creator for typerefs

    Definition Classes
    DummyMirrorTypes
  228. def typeToClass(tpe: Type): Class[_]

    Maps a Scala type to the corresponding Java class object

    Maps a Scala type to the corresponding Java class object

    Definition Classes
    DummyMirrorMirror
  229. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  232. def wrappingPos(default: Position, trees: List[Tree]): Position

    A position that wraps a set of trees.

    A position that wraps a set of trees. The point of the wrapping position is the point of the default position. If some of the trees are ranges, returns a range position enclosing all ranges Otherwise returns default position.

    Definition Classes
    DummyMirrorPositions
  233. def wrappingPos(trees: List[Tree]): Position

    A position that wraps the non-empty set of trees.

    A position that wraps the non-empty set of trees. The point of the wrapping position is the point of the first trees' position. If all some the trees are non-synthetic, returns a range position enclosing the non-synthetic trees Otherwise returns a synthetic offset position to point.

    Definition Classes
    DummyMirrorPositions
  234. def xtransform(transformer: Transformer, tree: Tree): Tree

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

    Attributes
    protected
    Definition Classes
    Trees
  236. def [B](y: B): (DummyMirror, B)

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

Deprecated Value Members

  1. def x: DummyMirror

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

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: DummyMirror

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

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Mirror

Inherited from Universe

Inherited from Importers

Inherited from FrontEnds

Inherited from ToolBoxes

Inherited from TreeBuildUtil

Inherited from ClassLoaders

Inherited from StandardNames

Inherited from TreePrinters

Inherited from TypeTags

Inherited from StandardDefinitions

Inherited from StandardTypes

Inherited from Exprs

Inherited from Positions

Inherited from AnnotationInfos

Inherited from Trees

Inherited from Names

Inherited from Scopes

Inherited from Constants

Inherited from Types

Inherited from FreeVars

Inherited from Symbols

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from DummyMirror to StringFormat

Inherited by implicit conversion any2stringadd from DummyMirror to StringAdd

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

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