public static class ClassFile.ConstantNameAndTypeInfo extends ClassFile.ConstantPoolInfo
| Constructor and Description |
|---|
ConstantNameAndTypeInfo(short nameIndex,
short descriptorIndex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescriptor(ClassFile classFile) |
int |
hashCode() |
boolean |
isWide() |
void |
store(DataOutputStream dos)
Stores this CP entry into the given
DataOutputStream. |
public ConstantNameAndTypeInfo(short nameIndex,
short descriptorIndex)
public String getDescriptor(ClassFile classFile)
public boolean isWide()
isWide in class ClassFile.ConstantPoolInfopublic void store(DataOutputStream dos) throws IOException
ClassFile.ConstantPoolInfoDataOutputStream.
See JVMS7 4.4.1 and following
store in class ClassFile.ConstantPoolInfoIOException