|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.go.trove.classfile.ConstantInfo
This class corresponds to the cp_info structure as defined in section 4.4 of The Java Virtual Machine Specification. Subclasses should override the default hashCode and equals methods so that the ConstantPool will only contain one instance of this constant.
| Constructor Summary | |
protected |
ConstantInfo(int tag)
|
| Method Summary | |
int |
getIndex()
The index of this constant in the constant pool. |
void |
writeTo(java.io.DataOutput dout)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected ConstantInfo(int tag)
| Method Detail |
public int getIndex()
public void writeTo(java.io.DataOutput dout)
throws java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||