Class LocalVariableState


  • public class LocalVariableState
    extends java.lang.Object
    In immutable local variable state
    • Field Detail

      • contents

        private final java.util.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 Detail

      • LocalVariableState

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

        public LocalVariableState​(ConstPool pool,
                                  java.lang.String... entries)
      • LocalVariableState

        private LocalVariableState​(java.util.List<StackEntry> contents,
                                   ConstPool constPool)