public static class ClassFile.ConstantFieldrefInfo extends ClassFile.ConstantPoolInfo
Modifier and Type | Field and Description |
---|---|
private short |
classIndex |
private short |
nameAndTypeIndex |
Constructor and Description |
---|
ConstantFieldrefInfo(short classIndex,
short nameAndTypeIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ClassFile.ConstantNameAndTypeInfo |
getNameAndType(ClassFile classFile) |
int |
hashCode() |
boolean |
isWide() |
void |
store(java.io.DataOutputStream dos)
Stores this CP entry into the given
DataOutputStream . |
private final short classIndex
private final short nameAndTypeIndex
public ConstantFieldrefInfo(short classIndex, short nameAndTypeIndex)
public ClassFile.ConstantNameAndTypeInfo getNameAndType(ClassFile classFile)
ClassFile.ConstantNameAndTypeInfo
of this ClassFile.ConstantFieldrefInfo
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