Package jminusminus

Class CLCodeAttribute

java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLCodeAttribute

class CLCodeAttribute extends CLAttributeInfo
Representation of Code_attribute structure.
  • Field Details

    • maxStack

      public int maxStack
      Code_attribute.max_stack item.
    • maxLocals

      public int maxLocals
      Code_attribute.max_locals item.
    • codeLength

      public long codeLength
      Code_attribute.code_length item.
    • code

      public ArrayList<Integer> code
      Code_attribute.code item.
    • exceptionTableLength

      public int exceptionTableLength
      Code_attribute.exception_table_length item.
    • exceptionTable

      public ArrayList<CLExceptionInfo> exceptionTable
      Code_attribute.exception_table item.
    • attributesCount

      public int attributesCount
      Code_attribute.attributes_count item.
    • attributes

      public ArrayList<CLAttributeInfo> attributes
      Code_attribute.attributes item.
  • Constructor Details

    • CLCodeAttribute

      public CLCodeAttribute(int attributeNameIndex, long attributeLength, int maxStack, int maxLocals, long codeLength, ArrayList<Integer> code, int exceptionTableLength, ArrayList<CLExceptionInfo> exceptionTable, int attributesCount, ArrayList<CLAttributeInfo> attributes)
      Construct a CLCodeAttribute object.
      Parameters:
      attributeNameIndex - Code_attribute.attribute_name_index item.
      attributeLength - Code_attribute.attribute_length item.
      maxStack - Code_attribute.max_stack item.
      maxLocals - Code_attribute.max_locals item.
      codeLength - Code_attribute.code_length item.
      code - Code_attribute.code item.
      exceptionTableLength - Code_attribute.exception_table_length item.
      exceptionTable - Code_attribute.exception_table item.
      attributesCount - Code_attribute.attributes_count item.
      attributes - Code_attribute.attributes item.
  • Method Details