class CLConstantIntegerInfo extends CLCPInfo
Modifier and Type | Field and Description |
---|---|
int |
i
The int number.
|
Constructor and Description |
---|
CLConstantIntegerInfo(int i)
Construct a CLConstantIntegerInfo object.
|
Modifier and Type | Method and Description |
---|---|
short[] |
bytes()
Return CONSTANT_Integer_info.bytes item.
|
boolean |
equals(Object obj) |
void |
write(CLOutputStream out)
Write the contents of this constant pool item 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 CLConstantIntegerInfo(int i)
i
- the int number.public short[] bytes()
public void write(CLOutputStream out) throws IOException
CLCPInfo
write
in class CLCPInfo
out
- output stream.IOException
- if an error occurs while writing.public void writeToStdOut(PrettyPrinter p)
CLCPInfo
writeToStdOut
in class CLCPInfo
p
- for pretty printing with indentation.