public final class CONSTANT_Long_info extends CONSTANT_literal_info
CONSTANT_Double_info represent eight-byte
numeric (long and double) constants.The unsigned high_bytes and low_bytes items of the CONSTANT_Long_info structure together contain the value of the long constant (( long ) high_bytes << 32) + low_bytes , where the bytes of each of high_bytes and low_bytes are stored in big-endian (high byte first) order.
| Modifier | Constructor and Description |
|---|---|
|
CONSTANT_Long_info(long value) |
protected |
CONSTANT_Long_info(UDataInputStream bytes) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(ICONSTANTVisitor visitor,
java.lang.Object ctx) |
byte |
tag()
Returns the tag byte for this CONSTANT type [this data is
static class data].
|
java.lang.String |
toString() |
int |
width()
Overrides the default implementation to return '2'.
|
void |
writeInClassFormat(UDataOutputStream out) |
clone, new_CONSTANT_info, tagToStringpublic static final byte TAG
public long m_value
public CONSTANT_Long_info(long value)
protected CONSTANT_Long_info(UDataInputStream bytes) throws java.io.IOException
java.io.IOExceptionpublic final byte tag()
CONSTANT_infotag in class CONSTANT_infopublic java.lang.Object accept(ICONSTANTVisitor visitor, java.lang.Object ctx)
accept in class CONSTANT_infopublic java.lang.String toString()
toString in class CONSTANT_infopublic int width()
width in class CONSTANT_infoCONSTANT_Long_info,
CONSTANT_Long_infopublic void writeInClassFormat(UDataOutputStream out) throws java.io.IOException
writeInClassFormat in interface IClassFormatOutputwriteInClassFormat in class CONSTANT_infojava.io.IOException