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.ConstantFieldrefInfopublic 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