|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.claritysys.jvm.classfile.CpEntry
com.claritysys.jvm.classfile.CpValue2
public final class CpValue2
A CONSTANT_Long or CONSTANT_Double entry in the constant pool.
| Field Summary |
|---|
| Fields inherited from class com.claritysys.jvm.classfile.CpEntry |
|---|
TAG_CLASS, TAG_DOUBLE, TAG_FIELDREF, TAG_FLOAT, TAG_INTEGER, TAG_INTERFACE_METHODREF, TAG_LONG, TAG_METHODREF, TAG_NAME_AND_TYPE, TAG_STRING, TAG_UTF8 |
| Method Summary | |
|---|---|
void |
computeHash()
Signal the entry to recompute (and store) its hashcode. |
long |
getValue()
Method getValue |
void |
setValue(long value)
|
java.lang.String |
toJavaString()
Convert the entry to a String as it would appear in a Java declaration. |
java.lang.String |
toString()
|
| Methods inherited from class com.claritysys.jvm.classfile.CpEntry |
|---|
clone, getIndex, getTag, hashCode |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final long getValue()
public void setValue(long value)
public java.lang.String toString()
toString in class java.lang.Objectpublic void computeHash()
CpEntryThe default does nothing.
computeHash in class CpEntrypublic java.lang.String toJavaString()
toJavaString in class CpEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||