case class InjectDerivedValue(arg: Global.Tree) extends Global.SymTree with Global.TermTree with Product with Serializable
Derived value class injection (equivalent to: new C(arg)
after erasure); only used during erasure.
The class C
is stored as a tree attachment.
- Source
- Trees.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- InjectDerivedValue
- Serializable
- Serializable
- TermTree
- TermTreeApi
- SymTree
- SymTreeApi
- Tree
- Attachable
- TreeContextApiImpl
- TreeApi
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new InjectDerivedValue(arg: Global.Tree)
Value Members
- val arg: Global.Tree
-
def
attachments: Attachments { type Pos = Trees.this.Position }
- Definition Classes
- Attachable
-
def
canHaveAttrs: Boolean
- Definition Classes
- Tree → TreeApi
-
def
changeOwner(from: Global.Symbol, to: Global.Symbol): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
changeOwner(pairs: (Global.Symbol, Global.Symbol)*): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
children: List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
clearType(): InjectDerivedValue.this.type
- Definition Classes
- Tree
-
def
collect[T](pf: PartialFunction[Global.Tree, T]): List[T]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
correspondsStructure(that: Global.Tree)(f: (Global.Tree, Global.Tree) ⇒ Boolean): Boolean
- Definition Classes
- TreeContextApiImpl
-
def
defineType(tp: Global.Type): InjectDerivedValue.this.type
- Definition Classes
- Tree
-
def
duplicate: InjectDerivedValue.this.type
- Definition Classes
- Tree → TreeApi
-
def
equals(that: Any): Boolean
- Definition Classes
- Tree → Equals → AnyRef → Any
-
def
equalsStructure(that: Global.Tree): Boolean
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
exists(p: (Global.Tree) ⇒ Boolean): Boolean
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
filter(f: (Global.Tree) ⇒ Boolean): List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
find(p: (Global.Tree) ⇒ Boolean): Option[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
forAll(p: (Global.Tree) ⇒ Boolean): Boolean
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
foreach(f: (Global.Tree) ⇒ Unit): Unit
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
foreachPartial(pf: PartialFunction[Global.Tree, Global.Tree]): Unit
- Definition Classes
- TreeContextApiImpl
-
def
freeSyms: List[Global.FreeSymbol]
- Definition Classes
- TreeContextApiImpl
-
def
freeTerms: List[Global.FreeTermSymbol]
- Definition Classes
- TreeContextApiImpl
-
def
freeTypes: List[Global.FreeTypeSymbol]
- Definition Classes
- TreeContextApiImpl
-
def
getAndRemoveAttachment[T](implicit arg0: ClassTag[T]): Option[T]
- Definition Classes
- Attachable
-
def
hasAttachment[T](implicit arg0: ClassTag[T]): Boolean
- Definition Classes
- Attachable
-
def
hasExistingSymbol: Boolean
- Definition Classes
- TreeContextApiImpl
-
def
hasSymbolField: Boolean
- Definition Classes
- SymTree → Tree
-
def
hasSymbolWhich(f: (Global.Symbol) ⇒ Boolean): Boolean
- Definition Classes
- TreeContextApiImpl
-
def
hashCode(): Int
- Definition Classes
- Tree → AnyRef → Any
-
val
id: Int
- Definition Classes
- Tree
-
def
isDef: Boolean
- Definition Classes
- Tree → TreeApi
-
def
isEmpty: Boolean
- Definition Classes
- Tree → TreeApi
-
def
isErroneous: Boolean
- Definition Classes
- TreeContextApiImpl
-
def
isErrorTyped: Boolean
- Definition Classes
- TreeContextApiImpl
-
def
isTerm: Boolean
- Definition Classes
- Tree → TreeApi
-
def
isType: Boolean
- Definition Classes
- Tree → TreeApi
-
def
isTyped: Boolean
- Definition Classes
- TreeContextApiImpl
-
def
modifyType(f: (Global.Type) ⇒ Global.Type): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
nonEmpty: Boolean
- Definition Classes
- Tree → TreeApi
-
def
orElse(alt: ⇒ Global.Tree): Global.Tree
- Definition Classes
- TreeContextApiImpl → TreeApi
-
final
def
pos: Global.Position
- Definition Classes
- Tree → Attachable → TreeApi
-
def
pos_=(pos: Global.Position): Unit
- Definition Classes
- Attachable
-
def
removeAttachment[T](implicit arg0: ClassTag[T]): InjectDerivedValue.this.type
- Definition Classes
- Attachable
-
def
setAttachments(attachments: Attachments { type Pos = Trees.this.Position }): InjectDerivedValue.this.type
- Definition Classes
- Attachable
-
def
setPos(newpos: Global.Position): InjectDerivedValue.this.type
- Definition Classes
- Attachable
-
def
setSymbol(sym: Global.Symbol): InjectDerivedValue.this.type
- Definition Classes
- Tree
-
def
setType(tp: Global.Type): InjectDerivedValue.this.type
- Definition Classes
- Tree
-
def
shallowDuplicate: Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
shortClass: String
- Definition Classes
- TreeContextApiImpl
-
def
substituteSymbols(from: List[Global.Symbol], to: List[Global.Symbol]): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
substituteThis(clazz: Global.Symbol, to: ⇒ Global.Tree): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
substituteTypes(from: List[Global.Symbol], to: List[Global.Type]): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
summaryString: String
- Definition Classes
- TreeContextApiImpl
-
var
symbol: Global.Symbol
- Definition Classes
- SymTree → SymTreeApi → Tree → TreeApi
-
def
toString(): String
- Definition Classes
- TreeApi → AnyRef → Any
-
final
def
tpe: Global.Type
- Definition Classes
- Tree → TreeApi
-
def
updateAttachment[T](attachment: T)(implicit arg0: ClassTag[T]): InjectDerivedValue.this.type
- Definition Classes
- Attachable
-
def
withFilter(f: (Global.Tree) ⇒ Boolean): List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
Deprecated Value Members
-
def
hasSymbol: Boolean
- Definition Classes
- Tree
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use hasSymbolField
-
def
tpe_=(t: Global.Type): Unit
- Definition Classes
- Tree
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use setType
The Scala compiler and reflection APIs.