public class ConstantClassInfo extends ConstantPoolInfo
| 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 |
|---|
ConstantClassInfo(int nameIndex)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNameIndex()
Returns the index into the constant pool table for a
ConstantUtf8Info structure representing a valid,
fully-qualified class or interface name, encoded in internal form. |
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 ConstantClassInfo(int nameIndex)
nameIndex - The index into the constant pool containing a
ConstantUtf8Info representing the fully-qualified
class or interface name, encoded in internal form.public int getNameIndex()
ConstantUtf8Info structure representing a valid,
fully-qualified class or interface name, encoded in internal form.public java.lang.String toString()
toString in class java.lang.Object