class NullnessFrame extends AliasingFrame[NullnessValue]
- Alphabetic
- By Inheritance
- NullnessFrame
- AliasingFrame
- Frame
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NullnessFrame(src: Frame[_ <: NullnessValue])
- new NullnessFrame(nLocals: Int, nStack: Int)
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 NullnessFrame toany2stringadd[NullnessFrame] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (NullnessFrame, B)
- Implicit
- This member is added by an implicit conversion from NullnessFrame toArrowAssoc[NullnessFrame] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val aliases: Array[AliasSet]
For every value the set of values that are aliases of it.
For every value the set of values that are aliases of it.
Invariants:
- If
aliases(i) == null
then i has no aliases. This is equivalent to havingaliases(i) == SingletonSet(i)
. - If
aliases(i) != null
thenaliases(i) contains i
. - If
aliases(i) contains j
thenaliases(i) eq aliases(j)
, i.e., they are references to the same (mutable) AliasSet.
- Definition Classes
- AliasingFrame
- If
- def aliasesOf(entry: Int): AliasSet
The set of aliased values for a given entry in the
values
array.The set of aliased values for a given entry in the
values
array.- Definition Classes
- AliasingFrame
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearStack(): Unit
When entering an exception handler, all values are dropped from the stack (and the exception value is pushed).
When entering an exception handler, all values are dropped from the stack (and the exception value is pushed). The ASM analyzer invokes
firstHandlerInstructionFrame.clearStack()
. To ensure consistent aliasing sets, we need to remove the dropped values from aliasing sets.- Definition Classes
- AliasingFrame → Frame
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (NullnessFrame) => Boolean, msg: => Any): NullnessFrame
- Implicit
- This member is added by an implicit conversion from NullnessFrame toEnsuring[NullnessFrame] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (NullnessFrame) => Boolean): NullnessFrame
- Implicit
- This member is added by an implicit conversion from NullnessFrame toEnsuring[NullnessFrame] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): NullnessFrame
- Implicit
- This member is added by an implicit conversion from NullnessFrame toEnsuring[NullnessFrame] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): NullnessFrame
- Implicit
- This member is added by an implicit conversion from NullnessFrame toEnsuring[NullnessFrame] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def execute(insn: AbstractInsnNode, interpreter: asm.tree.analysis.Interpreter[NullnessValue]): Unit
- Definition Classes
- NullnessFrame → AliasingFrame → Frame
- 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()
- def getLocal(index: Int): NullnessValue
- Definition Classes
- Frame
- def getLocals(): Int
- Definition Classes
- Frame
- def getMaxStackSize(): Int
- Definition Classes
- Frame
- def getStack(index: Int): NullnessValue
- Definition Classes
- Frame
- def getStackSize(): Int
- Definition Classes
- Frame
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def init(src: Frame[_ <: NullnessValue]): Frame[NullnessValue]
- Definition Classes
- AliasingFrame → Frame
- def initJumpTarget(opcode: Int, target: LabelNode): Unit
- Definition Classes
- NullnessFrame → Frame
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge(other: Frame[_ <: NullnessValue], interpreter: asm.tree.analysis.Interpreter[NullnessValue]): Boolean
Merge the AliasingFrame
other
into this AliasingFrame.Merge the AliasingFrame
other
into this AliasingFrame.Aliases that are common in both frames are kept. Example:
var x, y = null if (...) { x = a y = a // (x, y, a) are aliases } else { x = a y = b // (x, a) and (y, b) } [...] // (x, a) -- merge of ((x, y, a)) and ((x, a), (y, b))
- Definition Classes
- AliasingFrame → Frame
- def merge(frame: Frame[_ <: NullnessValue], localsUsed: Array[Boolean]): Boolean
- Definition Classes
- Frame
- 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()
- def pop(): NullnessValue
- Definition Classes
- Frame
- def push(value: NullnessValue): Unit
- Definition Classes
- Frame
- def setLocal(index: Int, value: NullnessValue): Unit
- Definition Classes
- Frame
- def setReturn(v: NullnessValue): Unit
- Definition Classes
- Frame
- def setStack(index: Int, value: NullnessValue): Unit
- Definition Classes
- Frame
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AliasingFrame → Frame → AnyRef → Any
- 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()
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from NullnessFrame toStringFormat[NullnessFrame] 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 →[B](y: B): (NullnessFrame, B)
- Implicit
- This member is added by an implicit conversion from NullnessFrame toArrowAssoc[NullnessFrame] 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.