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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue to any2stringadd[Global.InjectDerivedValue] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Global.InjectDerivedValue, B)
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue to ArrowAssoc[Global.InjectDerivedValue] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val arg: Global.Tree
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
ensuring(cond: (Global.InjectDerivedValue) ⇒ Boolean, msg: ⇒ Any): Global.InjectDerivedValue
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue to Ensuring[Global.InjectDerivedValue] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Global.InjectDerivedValue) ⇒ Boolean): Global.InjectDerivedValue
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue to Ensuring[Global.InjectDerivedValue] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Global.InjectDerivedValue
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue to Ensuring[Global.InjectDerivedValue] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Global.InjectDerivedValue
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue to Ensuring[Global.InjectDerivedValue] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue to StringFormat[Global.InjectDerivedValue] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonEmpty: Boolean
- Definition Classes
- Tree → TreeApi
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
-
val
rawatt: Attachments { type Pos = Trees.this.Position }
- Attributes
- protected
- 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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withFilter(f: (Global.Tree) ⇒ Boolean): List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
→[B](y: B): (Global.InjectDerivedValue, B)
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue to ArrowAssoc[Global.InjectDerivedValue] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
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.