Class StackEntry


  • public class StackEntry
    extends java.lang.Object
    represents the state of the stack or the local variable array.

    This is written out as part of the StackMap attribute

    Author:
    Stuart Douglas
    • Constructor Detail

      • StackEntry

        public StackEntry​(StackEntryType type,
                          java.lang.String descriptor)
      • StackEntry

        public StackEntry​(StackEntryType type,
                          java.lang.String descriptor,
                          int newInstructionLocation)
    • Method Detail

      • getDescriptor

        public java.lang.String getDescriptor()
      • getNewInstructionLocation

        public int getNewInstructionLocation()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isWide

        public boolean isWide()
      • write

        public void write​(java.io.DataOutputStream dstream)
                   throws java.io.IOException
        writes the entry to the stream
        Throws:
        java.io.IOException