|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectclassycle.classfile.Constant
classycle.classfile.StringConstant
Constant of a String value.
| Constructor Summary | |
StringConstant(Constant[] pool,
int stringIndex)
Creates an instance for the specfied index. |
|
| Method Summary | |
java.lang.String |
getString()
Returns the string value. |
java.lang.String |
toString()
Returns the constant type and the string value. |
| Methods inherited from class classycle.classfile.Constant |
extractConstantPool, getConstant |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StringConstant(Constant[] pool,
int stringIndex)
pool - Constant pool. Needed for resolving the reference.stringIndex - Index of an UTF8Constant.| Method Detail |
public java.lang.String getString()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||