Package jminusminus
Class CLAnnotation
java.lang.Object
jminusminus.CLAnnotation
Representation of annotation structure.
-
Field Summary
Modifier and TypeFieldDescriptionannotation.element_value_pairs item.int
annotation.num_element_value_pairs item.int
annotation.type_index item. -
Constructor Summary
ConstructorDescriptionCLAnnotation
(int typeIndex, int numElementValuePairs, ArrayList<CLElementValuePair> elementValuePairs) Construct a CLAnnotation object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(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.
-