Package jminusminus
Class CLAnnotation
java.lang.Object
jminusminus.CLAnnotation
Representation of annotation structure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionannotation.element_value_pairs item.intannotation.num_element_value_pairs item.intannotation.type_index item. -
Constructor Summary
ConstructorsConstructorDescriptionCLAnnotation(int typeIndex, int numElementValuePairs, ArrayList<CLElementValuePair> elementValuePairs) Construct a CLAnnotation object. -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(CLOutputStream out) Write the contents of this object to the specified output stream.
-
Field Details
-
typeIndex
public int typeIndexannotation.type_index item. -
numElementValuePairs
public int numElementValuePairsannotation.num_element_value_pairs item. -
elementValuePairs
annotation.element_value_pairs item.
-
-
Constructor Details
-
CLAnnotation
public CLAnnotation(int typeIndex, int numElementValuePairs, ArrayList<CLElementValuePair> elementValuePairs) Construct a CLAnnotation object.- Parameters:
typeIndex- annotation.type_index item.numElementValuePairs- annotation.num_element_value_pairs item.elementValuePairs- annotation.element_value_pairs item.
-
-
Method Details
-
write
Write the contents of this object to the specified output stream.- Parameters:
out- output stream.- Throws:
IOException- if an error occurs while writing.
-