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.ConstantPoolInfo
public void store(java.io.DataOutputStream dos) throws java.io.IOException
ClassFile.ConstantPoolInfo
DataOutputStream
.
See JVMS7 4.4.1 and following
store
in class ClassFile.ConstantPoolInfo
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object