Class StackMapData

All Implemented Interfaces:
Printable

class StackMapData extends MemberData<CodeData>
represents one entry of StackMap attribute
  • Field Details

    • type

    • stackFrameType

      StackMap.FrameType stackFrameType
    • stackFrameTypeValue

      int stackFrameTypeValue
    • frame_pc

      int frame_pc
    • offset

      int offset
    • lockMap

      int[] lockMap
    • stackMap

      int[] stackMap
  • Constructor Details

    • StackMapData

      public StackMapData(StackMapData.EAttributeType type, boolean firstStackMap, int prevFrame_pc, CodeData code, DataInputStream in) throws IOException
      Parameters:
      type - either Implicit stack map attribute or the StackMapTable attribute
      firstStackMap - is it an entries[0] in the stack_map_frame structure? i.e. Does the StackMapData describe the second stack map frame of the method?
      prevFrame_pc - the bytecode offset of the previous entry (entries[current_index-1])
      code - the code attribute where this attribute is located
      in - the input stream
      Throws:
      IOException - the exception if something went wrong
  • Method Details