Package jminusminus
Class CLCodeAttribute
java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLCodeAttribute
Representation of Code_attribute structure.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionCode_attribute.attributes item.intCode_attribute.attributes_count item.Code_attribute.code item.longCode_attribute.code_length item.Code_attribute.exception_table item.intCode_attribute.exception_table_length item.intCode_attribute.max_locals item.intCode_attribute.max_stack item.Fields inherited from class jminusminus.CLAttributeInfoattributeLength, attributeNameIndex
- 
Constructor SummaryConstructorsConstructorDescriptionCLCodeAttribute(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.
- 
Method SummaryModifier and TypeMethodDescriptionvoidwrite(CLOutputStream out) Write the contents of this attribute to the specified output stream.
- 
Field Details- 
maxStackpublic int maxStackCode_attribute.max_stack item.
- 
maxLocalspublic int maxLocalsCode_attribute.max_locals item.
- 
codeLengthpublic long codeLengthCode_attribute.code_length item.
- 
codeCode_attribute.code item.
- 
exceptionTableLengthpublic int exceptionTableLengthCode_attribute.exception_table_length item.
- 
exceptionTableCode_attribute.exception_table item.
- 
attributesCountpublic int attributesCountCode_attribute.attributes_count item.
- 
attributesCode_attribute.attributes item.
 
- 
- 
Constructor Details- 
CLCodeAttributepublic 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- 
writeWrite the contents of this attribute to the specified output stream.- Overrides:
- writein class- CLAttributeInfo
- Parameters:
- out- output stream.
- Throws:
- IOException- if an error occurs while writing.
 
 
-