public class ConstantClassInfo extends ConstantInfo
TAG_CLASS, TAG_DOUBLE, TAG_FIELD, TAG_FLOAT, TAG_INTEGER, TAG_INTERFACE_METHOD, TAG_LONG, TAG_METHOD, TAG_NAME_AND_TYPE, TAG_STRING, TAG_UTF8| Constructor and Description |
|---|
ConstantClassInfo(ConstantPool cp,
String className) |
ConstantClassInfo(ConstantPool cp,
String className,
int dim)
Used to describe an array class.
|
ConstantClassInfo(ConstantPool cp,
TypeDesc type) |
ConstantClassInfo(ConstantUTFInfo nameConstant) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TypeDesc |
getType() |
int |
hashCode() |
String |
toString() |
void |
writeTo(DataOutput dout) |
getEntryCount, getIndex, hasPrioritypublic ConstantClassInfo(ConstantUTFInfo nameConstant)
public ConstantClassInfo(ConstantPool cp, String className)
public ConstantClassInfo(ConstantPool cp, String className, int dim)
public ConstantClassInfo(ConstantPool cp, TypeDesc type)
public TypeDesc getType()
public void writeTo(DataOutput dout) throws IOException
writeTo in class ConstantInfoIOExceptionCopyright © 2004-2015 Cojen. All Rights Reserved.