Package jminusminus
Class CLElementValue
java.lang.Object
jminusminus.CLElementValue
Representation of element_value union.
-
Field Summary
Modifier and TypeFieldDescriptionelement_value.annotation_value item.int
element_value.class_info_index item.int
element_value.enum_const_value.const_name_index item.int
element_value.const_value_index item.int
element_value.array_value.numValues item.short
element_value.tag item.int
element_value.enum_const_value.type_name_index item.element_value.array_value.values item. -
Constructor Summary
ConstructorDescriptionCLElementValue
(int classInfoIndex) Construct a CLElementValue object.CLElementValue
(int typeNameIndex, int constNameIndex) Construct a CLElementValue object.CLElementValue
(int numValues, ArrayList<CLElementValue> values) Construct a CLElementValue object.CLElementValue
(short tag, int constValueIndex) Construct a CLElementValue object.CLElementValue
(CLAnnotation annotationValue) Construct a CLElementValue object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(CLOutputStream out) Write the contents of this object to the specified output stream.
-
Field Details
-
tag
public short tagelement_value.tag item. -
constValueIndex
public int constValueIndexelement_value.const_value_index item. -
typeNameIndex
public int typeNameIndexelement_value.enum_const_value.type_name_index item. -
constNameIndex
public int constNameIndexelement_value.enum_const_value.const_name_index item. -
classInfoIndex
public int classInfoIndexelement_value.class_info_index item. -
annotationValue
element_value.annotation_value item. -
numValues
public int numValueselement_value.array_value.numValues item. -
values
element_value.array_value.values item.
-
-
Constructor Details
-
CLElementValue
public CLElementValue(short tag, int constValueIndex) Construct a CLElementValue object.- Parameters:
tag
- element_value.tag item.constValueIndex
- element_value.const_value_index item.
-
CLElementValue
public CLElementValue(int typeNameIndex, int constNameIndex) Construct a CLElementValue object.- Parameters:
typeNameIndex
- element_value.type_name_index item.constNameIndex
- element_value.const_name_index item.
-
CLElementValue
public CLElementValue(int classInfoIndex) Construct a CLElementValue object.- Parameters:
classInfoIndex
- element_value.class_info_index item.
-
CLElementValue
Construct a CLElementValue object.- Parameters:
annotationValue
- element_value.annotation_value item.
-
CLElementValue
Construct a CLElementValue object.- Parameters:
numValues
- element_value.num_values.values
- element_value.values.
-
-
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.
-