final case class AssumeNotNull(obj: Tree) extends Value with Product with Serializable
Assumes that obj ne null, and always returns obj.
This is used by the optimizer to communicate to the emitter that an
expression is known not to be null, so that it doesn't insert useless
null checks.
This node should not be used when NPEs are Unchecked.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AssumeNotNull
- Serializable
- Product
- Equals
- Value
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AssumeNotNull(obj: Tree)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val obj: Tree
- def printIR(out: IRTreePrinter): Unit
- Definition Classes
- AssumeNotNull → Value
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tpe: Type
- Definition Classes
- AssumeNotNull → Value
- def transform(transformer: Transformer, isStat: Boolean)(implicit pos: Position): Tree
- Definition Classes
- AssumeNotNull → Value
- def traverse(traverser: Traverser): Unit
- Definition Classes
- AssumeNotNull → Value
- 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()