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, tagToString
public 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.IOException
public final byte tag()
CONSTANT_info
tag
in class CONSTANT_info
public java.lang.Object accept(ICONSTANTVisitor visitor, java.lang.Object ctx)
accept
in class CONSTANT_info
public java.lang.String toString()
toString
in class CONSTANT_info
public int width()
width
in class CONSTANT_info
CONSTANT_Long_info
,
CONSTANT_Long_info
public void writeInClassFormat(UDataOutputStream out) throws java.io.IOException
writeInClassFormat
in interface IClassFormatOutput
writeInClassFormat
in class CONSTANT_info
java.io.IOException