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