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): InjectDerivedValue.this.type
- Definition Classes
- TreeContextApiImpl
- î
def changeOwner(pairs: (Global.Symbol, Global.Symbol)*): InjectDerivedValue.this.type
- 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): InjectDerivedValue.this.type
- 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.