Class LocalVariableState

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

public class LocalVariableState extends Object
In immutable local variable state
  • Field Details

    • contents

      private final List<StackEntry> contents
      The contents, null is used to represent the additional spot taken up by a wide variable.

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

      The very first element represents the first local variable (this for non static methods)

    • constPool

      private final ConstPool constPool
  • Constructor Details

    • LocalVariableState

      public LocalVariableState(ClassMethod method)
      construct the initial local variable state for a method
    • LocalVariableState

      public LocalVariableState(ConstPool pool, String... entries)
    • LocalVariableState

      private LocalVariableState(List<StackEntry> contents, ConstPool constPool)
  • Method Details