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
- Serializable
- Product
- Equals
- Value
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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( ... ) @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[_]
- 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
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()