public class ConstantUtf8Info extends ConstantPoolInfo
CONSTANT_Utf8_info structure.| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTANT_Class |
static int |
CONSTANT_Double |
static int |
CONSTANT_Fieldref |
static int |
CONSTANT_Float |
static int |
CONSTANT_Integer |
static int |
CONSTANT_InterfaceMethodref |
static int |
CONSTANT_InvokeDynamic |
static int |
CONSTANT_Long |
static int |
CONSTANT_MethodHandle |
static int |
CONSTANT_Methodref |
static int |
CONSTANT_MethodType |
static int |
CONSTANT_NameAndType |
static int |
CONSTANT_String |
static int |
CONSTANT_Utf8 |
| Constructor and Description |
|---|
ConstantUtf8Info(byte[] bytes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRepresentedString(boolean quoted)
Returns the string represented by this info.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
getTagpublic static final int CONSTANT_Class
public static final int CONSTANT_Fieldref
public static final int CONSTANT_Methodref
public static final int CONSTANT_InterfaceMethodref
public static final int CONSTANT_String
public static final int CONSTANT_Integer
public static final int CONSTANT_Float
public static final int CONSTANT_Long
public static final int CONSTANT_Double
public static final int CONSTANT_NameAndType
public static final int CONSTANT_Utf8
public static final int CONSTANT_MethodHandle
public static final int CONSTANT_MethodType
public static final int CONSTANT_InvokeDynamic
public java.lang.String getRepresentedString(boolean quoted)
quoted - Whether to add enclosing quotation marks, and "escape"
any quotation marks in the represented string.public java.lang.String toString()
toString in class java.lang.Object