Class StackState

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

public class StackState extends Object
In immutable stack state, which may be shared between frames
  • Field Details

    • contents

      private final List<StackEntry> contents
      The contents of the stack

      This list may be shared between frames, so it must never be modified

      The very first element represents the bottom of the stack, with the last element representing the top. Wide elements are stored as Wide, Top, with the StackEntryType.TOP on the top of the stack

    • constPool

      private final ConstPool constPool
  • Constructor Details

  • Method Details