Package jminusminus
Class CLInnerClassesAttribute
java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLInnerClassesAttribute
Representation of InnerClasses_attribute structure.
 
Note that this is just to register the inner classes with its parent class, and does not create the classes, which can be done using CLEmitter.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionInnerClasses_attribute.classes item.intInnerClasses_attribute.number_of_classes item.Fields inherited from class jminusminus.CLAttributeInfoattributeLength, attributeNameIndex
- 
Constructor SummaryConstructorsConstructorDescriptionCLInnerClassesAttribute(int attributeNameIndex, long attributeLength, int numberOfClasses, ArrayList<CLInnerClassInfo> classes) Construct a CLInnerClassesAttribute object.
- 
Method SummaryModifier and TypeMethodDescriptionvoidwrite(CLOutputStream out) Write the contents of this attribute to the specified output stream.
- 
Field Details- 
numberOfClassespublic int numberOfClassesInnerClasses_attribute.number_of_classes item.
- 
classesInnerClasses_attribute.classes item.
 
- 
- 
Constructor Details- 
CLInnerClassesAttributepublic CLInnerClassesAttribute(int attributeNameIndex, long attributeLength, int numberOfClasses, ArrayList<CLInnerClassInfo> classes) Construct a CLInnerClassesAttribute object.- Parameters:
- attributeNameIndex- InnerClasses_attribute.attribute_name_index item.
- attributeLength- InnerClasses_attribute.attribute_length item.
- numberOfClasses- InnerClasses_attribute.number_of_classes item.
- classes- InnerClasses_attribute.classes 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.
 
 
-