|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectharpoon.IR.RawClass.Constant
harpoon.IR.RawClass.ConstantValue
harpoon.IR.RawClass.ConstantLong
public class ConstantLong
The CONSTANT_Long_info structure represents eight-byte
integer numeric constants.
Constant,
ConstantDouble| Field Summary | |
|---|---|
long |
val
The value of the long constant. |
| Fields inherited from class harpoon.IR.RawClass.Constant |
|---|
parent |
| Constructor Summary | |
|---|---|
ConstantLong(ClassFile parent,
long val)
Constructor. |
|
| Method Summary | |
|---|---|
int |
entrySize()
|
long |
longValue()
Returns the value of this constant. |
String |
toString()
Create a human-readable representation of this constant. |
Object |
value()
Returns the value of this constant, wrapped as a java.lang.Long. |
void |
write(ClassDataOutputStream out)
Write to a bytecode file. |
| Methods inherited from class harpoon.IR.RawClass.Constant |
|---|
print, read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public long val
long constant.
| Constructor Detail |
|---|
public ConstantLong(ClassFile parent,
long val)
| Method Detail |
|---|
public int entrySize()
entrySize in class Constant
public void write(ClassDataOutputStream out)
throws IOException
write in class ConstantIOException - on error writing to output stream.public long longValue()
public Object value()
java.lang.Long.
value in class ConstantValuepublic String toString()
toString in class Constant
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||