|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclassycle.classfile.Constant
classycle.classfile.UTF8Constant
public class UTF8Constant
Constant of an arbitrary Unicode string.
Constructor Summary | |
---|---|
UTF8Constant(Constant[] pool,
java.lang.String string)
Creates an instance for the specified string. |
Method Summary | |
---|---|
java.lang.String |
getString()
Returns the wrapped string. |
java.lang.String |
toString()
Returns the constant type and the wrapped string. |
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 UTF8Constant(Constant[] pool, java.lang.String string)
pool
- Constant pool.string
- wrapped string.Method Detail |
---|
public java.lang.String getString()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |