Class StackMapTableAttribute

All Implemented Interfaces:
IClassFileAttribute, IStackMapTableAttribute

public class StackMapTableAttribute extends ClassFileAttribute implements IStackMapTableAttribute
Default implementation of IStackMapTableAttribute.
See Also:
IStackMapTableAttribute
  • Constructor Details

    • StackMapTableAttribute

      public StackMapTableAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException
      Constructor for LineNumberAttribute.
      Parameters:
      classFileBytes -
      constantPool -
      offset -
      Throws:
      ClassFormatException
  • Method Details

    • getNumberOfEntries

      public int getNumberOfEntries()
      Description copied from interface: IStackMapTableAttribute
      Answer back the number of stack map frames of this atribute as specified in the JVM specifications.
      Specified by:
      getNumberOfEntries in interface IStackMapTableAttribute
      Returns:
      the number of stack map frames of this atribute as specified in the JVM specifications
    • getStackMapFrame

      public IStackMapFrame[] getStackMapFrame()
      Description copied from interface: IStackMapTableAttribute
      Answer back the stack map frames for this attribute as specified in the JVM specifications.
      Specified by:
      getStackMapFrame in interface IStackMapTableAttribute
      Returns:
      the stack map frames for this attribute as specified in the JVM specifications
    • getBytes

      public byte[] getBytes()