Class StackEntry

java.lang.Object
org.jboss.classfilewriter.code.StackEntry

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

This is written out as part of the StackMap attribute

  • Field Details

    • type

      private final StackEntryType type
    • descriptor

      private final String descriptor
    • descriptorIndex

      private final int descriptorIndex
      if this is OBJECT then this holds the const pool index
    • newInstructionLocation

      private final int newInstructionLocation
      if this is an unititialized bytecode then this holds the absolute position of the new instruction that created it
  • Constructor Details

  • Method Details