class CLElementValuePair extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
elementNameIndex
element_value_pairs_table_entry.element_name_index item.
|
CLElementValue |
value
element_value_pairs_table_entry.value item.
|
| Constructor and Description |
|---|
CLElementValuePair(int elementNameIndex,
CLElementValue value)
Construct a CLElementValuePair object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(CLOutputStream out)
Write the contents of this object to the specified output stream.
|
void |
writeToStdOut(PrettyPrinter p)
Write the content of this object to STDOUT in a format similar to that of
javap.
|
public int elementNameIndex
public CLElementValue value
public CLElementValuePair(int elementNameIndex,
CLElementValue value)
elementNameIndex - element_value_pairs_table_entry.element_name_index item.value - element_value_pairs_table_entry.value item.public void write(CLOutputStream out) throws IOException
out - output stream.IOException - if an error occurs while writing.public void writeToStdOut(PrettyPrinter p)
p - for pretty printing with indentation.