scala.reflect.runtime.JavaUniverse

# TreeCopier

#### type TreeCopier = InternalTreeCopierOps

The type of standard (lazy) tree copiers.

Definition Classes
  JavaUniverse → Trees → Trees
Source
  JavaUniverse.scala

Linear Supertypes
JavaUniverse.TreeCopierOps, AnyRef, Any
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. TreeCopier
2. TreeCopierOps
3. AnyRef
4. Any

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Abstract Value Members

1. #### abstract def Alternative(tree: api.Universe.Tree, trees: List[api.Universe.Tree]): api.Universe.Alternative

   Creates a `Alternative` node from the given components, having a given `tree` as a prototype.

   Creates a `Alternative` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

   Definition Classes
     TreeCopierOps

2. #### abstract def Annotated(tree: api.Universe.Tree, annot: api.Universe.Tree, arg: api.Universe.Tree): api.Universe.Annotated

   Creates a `Annotated` node from the given components, having a given `tree` as a prototype.

   Creates a `Annotated` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

   Definition Classes
     TreeCopierOps

3. #### abstract def AppliedTypeTree(tree: api.Universe.Tree, tpt: api.Universe.Tree, args: List[api.Universe.Tree]): api.Universe.AppliedTypeTree

   Creates a `AppliedTypeTree` node from the given components, having a given `tree` as a prototype.

   Creates a `AppliedTypeTree` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

   Definition Classes
     TreeCopierOps

4. #### abstract def Apply(tree: api.Universe.Tree, fun: api.Universe.Tree, args: List[api.Universe.Tree]): api.Universe.Apply

   Creates a `Apply` node from the given components, having a given `tree` as a prototype.

   Creates a `Apply` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

   Definition Classes
     TreeCopierOps

5. #### abstract def ApplyDynamic(tree: internal.SymbolTable.Tree, qual: internal.SymbolTable.Tree, args: List[internal.SymbolTable.Tree]): internal.SymbolTable.ApplyDynamic

   Definition Classes
     InternalTreeCopierOps

6. #### abstract def ArrayValue(tree: internal.SymbolTable.Tree, elemtpt: internal.SymbolTable.Tree, trees: List[internal.SymbolTable.Tree]): internal.SymbolTable.ArrayValue

   Definition Classes
     InternalTreeCopierOps

7. #### abstract def Assign(tree: api.Universe.Tree, lhs: api.Universe.Tree, rhs: api.Universe.Tree): api.Universe.Assign

   Creates a `Assign` node from the given components, having a given `tree` as a prototype.

   Creates a `Assign` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

   Definition Classes
     TreeCopierOps

8. #### abstract def AssignOrNamedArg(tree: api.Universe.Tree, lhs: api.Universe.Tree, rhs: api.Universe.Tree): api.Universe.AssignOrNamedArg

   Creates a `AssignOrNamedArg` node from the given components, having a given `tree` as a prototype.

   Creates a `AssignOrNamedArg` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

   Definition Classes
     TreeCopierOps

9. #### abstract def Bind(tree: api.Universe.Tree, name: api.Universe.Name, body: api.Universe.Tree): api.Universe.Bind

   Creates a `Bind` node from the given components, having a given `tree` as a prototype.

   Creates a `Bind` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

   Definition Classes
     TreeCopierOps

10. #### abstract def Block(tree: api.Universe.Tree, stats: List[api.Universe.Tree], expr: api.Universe.Tree): api.Universe.Block

    Creates a `Block` node from the given components, having a given `tree` as a prototype.

    Creates a `Block` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

11. #### abstract def CaseDef(tree: api.Universe.Tree, pat: api.Universe.Tree, guard: api.Universe.Tree, body: api.Universe.Tree): api.Universe.CaseDef

    Creates a `CaseDef` node from the given components, having a given `tree` as a prototype.

    Creates a `CaseDef` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

12. #### abstract def ClassDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, tparams: List[api.Universe.TypeDef], impl: api.Universe.Template): api.Universe.ClassDef

    Creates a `ClassDef` node from the given components, having a given `tree` as a prototype.

    Creates a `ClassDef` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

13. #### abstract def CompoundTypeTree(tree: api.Universe.Tree, templ: api.Universe.Template): api.Universe.CompoundTypeTree

    Creates a `CompoundTypeTree` node from the given components, having a given `tree` as a prototype.

    Creates a `CompoundTypeTree` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

14. #### abstract def DefDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, tparams: List[api.Universe.TypeDef], vparamss: List[List[api.Universe.ValDef]], tpt: api.Universe.Tree, rhs: api.Universe.Tree): api.Universe.DefDef

    Creates a `DefDef` node from the given components, having a given `tree` as a prototype.

    Creates a `DefDef` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

15. #### abstract def ExistentialTypeTree(tree: api.Universe.Tree, tpt: api.Universe.Tree, whereClauses: List[api.Universe.MemberDef]): api.Universe.ExistentialTypeTree

    Creates a `ExistentialTypeTree` node from the given components, having a given `tree` as a prototype.

    Creates a `ExistentialTypeTree` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

16. #### abstract def Function(tree: api.Universe.Tree, vparams: List[api.Universe.ValDef], body: api.Universe.Tree): api.Universe.Function

    Creates a `Function` node from the given components, having a given `tree` as a prototype.

    Creates a `Function` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

17. #### abstract def Ident(tree: api.Universe.Tree, name: api.Universe.Name): api.Universe.Ident

    Creates a `Ident` node from the given components, having a given `tree` as a prototype.

    Creates a `Ident` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

18. #### abstract def If(tree: api.Universe.Tree, cond: api.Universe.Tree, thenp: api.Universe.Tree, elsep: api.Universe.Tree): api.Universe.If

    Creates a `If` node from the given components, having a given `tree` as a prototype.

    Creates a `If` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

19. #### abstract def Import(tree: api.Universe.Tree, expr: api.Universe.Tree, selectors: List[api.Universe.ImportSelector]): api.Universe.Import

    Creates a `Import` node from the given components, having a given `tree` as a prototype.

    Creates a `Import` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

20. #### abstract def LabelDef(tree: api.Universe.Tree, name: api.Universe.Name, params: List[api.Universe.Ident], rhs: api.Universe.Tree): api.Universe.LabelDef

    Creates a `LabelDef` node from the given components, having a given `tree` as a prototype.

    Creates a `LabelDef` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

21. #### abstract def Literal(tree: api.Universe.Tree, value: api.Universe.Constant): api.Universe.Literal

    Creates a `Literal` node from the given components, having a given `tree` as a prototype.

    Creates a `Literal` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

22. #### abstract def Match(tree: api.Universe.Tree, selector: api.Universe.Tree, cases: List[api.Universe.CaseDef]): api.Universe.Match

    Creates a `Match` node from the given components, having a given `tree` as a prototype.

    Creates a `Match` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

23. #### abstract def ModuleDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, impl: api.Universe.Template): api.Universe.ModuleDef

    Creates a `ModuleDef` node from the given components, having a given `tree` as a prototype.

    Creates a `ModuleDef` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

24. #### abstract def New(tree: api.Universe.Tree, tpt: api.Universe.Tree): api.Universe.New

    Creates a `New` node from the given components, having a given `tree` as a prototype.

    Creates a `New` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

25. #### abstract def PackageDef(tree: api.Universe.Tree, pid: api.Universe.RefTree, stats: List[api.Universe.Tree]): api.Universe.PackageDef

    Creates a `PackageDef` node from the given components, having a given `tree` as a prototype.

    Creates a `PackageDef` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

26. #### abstract def RefTree(tree: api.Universe.Tree, qualifier: api.Universe.Tree, selector: api.Universe.Name): api.Universe.RefTree

    Creates a `RefTree` node from the given components, having a given `tree` as a prototype.

    Creates a `RefTree` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

27. #### abstract def ReferenceToBoxed(tree: api.Universe.Tree, idt: api.Universe.Ident): api.Universe.ReferenceToBoxed

    Creates a `ReferenceToBoxed` node from the given components, having a given `tree` as a prototype.

    Creates a `ReferenceToBoxed` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

28. #### abstract def Return(tree: api.Universe.Tree, expr: api.Universe.Tree): api.Universe.Return

    Creates a `Return` node from the given components, having a given `tree` as a prototype.

    Creates a `Return` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

29. #### abstract def Select(tree: api.Universe.Tree, qualifier: api.Universe.Tree, selector: api.Universe.Name): api.Universe.Select

    Creates a `Select` node from the given components, having a given `tree` as a prototype.

    Creates a `Select` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

30. #### abstract def SelectFromTypeTree(tree: api.Universe.Tree, qualifier: api.Universe.Tree, selector: api.Universe.Name): api.Universe.SelectFromTypeTree

    Creates a `SelectFromTypeTree` node from the given components, having a given `tree` as a prototype.

    Creates a `SelectFromTypeTree` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

31. #### abstract def SingletonTypeTree(tree: api.Universe.Tree, ref: api.Universe.Tree): api.Universe.SingletonTypeTree

    Creates a `SingletonTypeTree` node from the given components, having a given `tree` as a prototype.

    Creates a `SingletonTypeTree` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

32. #### abstract def Star(tree: api.Universe.Tree, elem: api.Universe.Tree): api.Universe.Star

    Creates a `Star` node from the given components, having a given `tree` as a prototype.

    Creates a `Star` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

33. #### abstract def Super(tree: api.Universe.Tree, qual: api.Universe.Tree, mix: api.Universe.TypeName): api.Universe.Super

    Creates a `Super` node from the given components, having a given `tree` as a prototype.

    Creates a `Super` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

34. #### abstract def Template(tree: api.Universe.Tree, parents: List[api.Universe.Tree], self: api.Universe.ValDef, body: List[api.Universe.Tree]): api.Universe.Template

    Creates a `Template` node from the given components, having a given `tree` as a prototype.

    Creates a `Template` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

35. #### abstract def This(tree: api.Universe.Tree, qual: api.Universe.Name): api.Universe.This

    Creates a `This` node from the given components, having a given `tree` as a prototype.

    Creates a `This` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

36. #### abstract def Throw(tree: api.Universe.Tree, expr: api.Universe.Tree): api.Universe.Throw

    Creates a `Throw` node from the given components, having a given `tree` as a prototype.

    Creates a `Throw` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

37. #### abstract def Try(tree: api.Universe.Tree, block: api.Universe.Tree, catches: List[api.Universe.CaseDef], finalizer: api.Universe.Tree): api.Universe.Try

    Creates a `Try` node from the given components, having a given `tree` as a prototype.

    Creates a `Try` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

38. #### abstract def TypeApply(tree: api.Universe.Tree, fun: api.Universe.Tree, args: List[api.Universe.Tree]): api.Universe.TypeApply

    Creates a `TypeApply` node from the given components, having a given `tree` as a prototype.

    Creates a `TypeApply` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

39. #### abstract def TypeBoundsTree(tree: api.Universe.Tree, lo: api.Universe.Tree, hi: api.Universe.Tree): api.Universe.TypeBoundsTree

    Creates a `TypeBoundsTree` node from the given components, having a given `tree` as a prototype.

    Creates a `TypeBoundsTree` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

40. #### abstract def TypeDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, tparams: List[api.Universe.TypeDef], rhs: api.Universe.Tree): api.Universe.TypeDef

    Creates a `TypeDef` node from the given components, having a given `tree` as a prototype.

    Creates a `TypeDef` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

41. #### abstract def TypeTree(tree: api.Universe.Tree): api.Universe.TypeTree

    Creates a `TypeTree` node from the given components, having a given `tree` as a prototype.

    Creates a `TypeTree` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

42. #### abstract def Typed(tree: api.Universe.Tree, expr: api.Universe.Tree, tpt: api.Universe.Tree): api.Universe.Typed

    Creates a `Typed` node from the given components, having a given `tree` as a prototype.

    Creates a `Typed` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

43. #### abstract def UnApply(tree: api.Universe.Tree, fun: api.Universe.Tree, args: List[api.Universe.Tree]): api.Universe.UnApply

    Creates a `UnApply` node from the given components, having a given `tree` as a prototype.

    Creates a `UnApply` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

44. #### abstract def ValDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, tpt: api.Universe.Tree, rhs: api.Universe.Tree): api.Universe.ValDef

    Creates a `ValDef` node from the given components, having a given `tree` as a prototype.

    Creates a `ValDef` node from the given components, having a given `tree` as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

    Definition Classes
      TreeCopierOps

### Concrete Value Members

1. #### final def !=(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

2. #### final def ##(): Int

   Definition Classes
     AnyRef → Any

3. #### final def ==(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

4. #### final def asInstanceOf[T0]: T0

   Definition Classes
     Any

5. #### def clone(): AnyRef

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

6. #### final def eq(arg0: AnyRef): Boolean

   Definition Classes
     AnyRef

7. #### def equals(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

8. #### def finalize(): Unit

   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )

9. #### final def getClass(): Class[_]

   Definition Classes
     AnyRef → Any

10. #### def hashCode(): Int

    Definition Classes
      AnyRef → Any

11. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

12. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

13. #### final def notify(): Unit

    Definition Classes
      AnyRef

14. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

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

    Definition Classes
      AnyRef

16. #### def toString(): String

    Definition Classes
      AnyRef → Any

17. #### final def wait(): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

18. #### final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

19. #### final def wait(arg0: Long): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from JavaUniverse.TreeCopierOps

### Inherited from AnyRef

### Inherited from Any

### Ungrouped