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
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- InjectDerivedValue
- 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
- Protected
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 toany2stringadd[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 toArrowAssoc[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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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 toEnsuring[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 toEnsuring[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 toEnsuring[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 toEnsuring[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[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
- final def foreachChild(f: (Global.Tree) => Boolean): Unit
- Definition Classes
- TreeContextApiImpl
- 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
- final def getClass(): Class[_ <: AnyRef]
- 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()
- final def onlyChild: Global.Tree
- Definition Classes
- TreeContextApiImpl
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- 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 transform(transformer: Global.ApiTransformer): Global.Tree
- Definition Classes
- InjectDerivedValue → TreeContextApiImpl
- def traverse(traverser: Global.Traverser): Unit
- Definition Classes
- InjectDerivedValue → TreeContextApiImpl
- def updateAttachment[T](attachment: T)(implicit arg0: ClassTag[T]): InjectDerivedValue.this.type
- Definition Classes
- Attachable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withFilter(f: (Global.Tree) => Boolean): List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue toStringFormat[Global.InjectDerivedValue] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- 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
- def →[B](y: B): (Global.InjectDerivedValue, B)
- Implicit
- This member is added by an implicit conversion from Global.InjectDerivedValue toArrowAssoc[Global.InjectDerivedValue] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.