Class StackCtx


  • public final class StackCtx
    extends Object
    One operand-stack slot during abstract execution.
    • Constructor Detail

      • StackCtx

        public StackCtx​(InsnContext pushed,
                        boolean wide)
        Creates a slot for a pushed value.
        Parameters:
        pushed - the instruction-execution that pushed the value
        wide - true for a long/double entry
    • Method Detail

      • getPushed

        public InsnContext getPushed()
        Returns:
        the instruction-execution that pushed this value
      • isWide

        public boolean isWide()
        Returns:
        whether wide
      • addPopped

        public void addPopped​(InsnContext ctx)
        Records a context that popped this value, ignoring duplicates.
        Parameters:
        ctx - the popping instruction-execution