public final class CONSTANT_String_info extends CONSTANT_literal_info
The value of the string_index item must be a valid index into the constant pool
table. The constant pool entry at that index must be a CONSTANT_Utf8_info
structure representing the sequence of characters to which the
java.lang.String object is to be initialized.
Modifier and Type | Field and Description |
---|---|
int |
m_string_index |
static byte |
TAG |
Modifier | Constructor and Description |
---|---|
|
CONSTANT_String_info(int string_index) |
protected |
CONSTANT_String_info(UDataInputStream bytes) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(ICONSTANTVisitor visitor,
java.lang.Object ctx) |
byte |
tag()
Returns the tag byte for this CONSTANT type [this data is
static class data].
|
java.lang.String |
toString() |
void |
writeInClassFormat(UDataOutputStream out) |
clone, new_CONSTANT_info, tagToString, width
public static final byte TAG
public int m_string_index
public CONSTANT_String_info(int string_index)
protected CONSTANT_String_info(UDataInputStream bytes) throws java.io.IOException
java.io.IOException
public final byte tag()
CONSTANT_info
tag
in class CONSTANT_info
public java.lang.Object accept(ICONSTANTVisitor visitor, java.lang.Object ctx)
accept
in class CONSTANT_info
public java.lang.String toString()
toString
in class CONSTANT_info
public void writeInClassFormat(UDataOutputStream out) throws java.io.IOException
writeInClassFormat
in interface IClassFormatOutput
writeInClassFormat
in class CONSTANT_info
java.io.IOException