Class SameLocals1StackItemFrame


  • public class SameLocals1StackItemFrame
    extends StackMapFrame
    Represents a SameLocals1StackItemFrame in the StackMapTable attribute.
    • Constructor Detail

      • SameLocals1StackItemFrame

        public SameLocals1StackItemFrame​(int frameType,
                                         ClassFile classFile,
                                         ConstPool constPool)
        Reads the single stack entry for this frame from the class file.
        Parameters:
        frameType - the raw frame tag, 64 plus the offset delta
        classFile - the class file being read
        constPool - the constant pool backing verification type references
      • SameLocals1StackItemFrame

        public SameLocals1StackItemFrame​(int offsetDelta,
                                         VerificationTypeInfo stack)
        Builds a frame directly, encoding the delta into the frame tag.
        Parameters:
        offsetDelta - the bytecode offset delta, 0 to 63
        stack - the single stack entry