public class UTF8Constant extends Constant
| Constructor and Description |
|---|
UTF8Constant(Constant[] pool,
java.lang.String string)
Creates an instance for the specified string.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getString()
Returns the wrapped string.
|
java.lang.String |
toString()
Returns the constant type and the wrapped string.
|
extractConstantPool, getConstantpublic UTF8Constant(Constant[] pool, java.lang.String string)
pool - Constant pool.string - wrapped string.