Class ClassFile.ConstantFieldrefInfo
java.lang.Object
org.codehaus.janino.util.ClassFile.ConstantPoolInfo
org.codehaus.janino.util.ClassFile.ConstantFieldrefInfo
- Enclosing class:
ClassFile
See JVMS7 4.4.2.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final shortprivate final short -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetClassInfo(ClassFile classFile) getNameAndType(ClassFile classFile) inthashCode()booleanisWide()voidstore(DataOutputStream dos) Stores this CP entry into aDataOutputStream.toString()
-
Field Details
-
classIndex
private final short classIndex -
nameAndTypeIndex
private final short nameAndTypeIndex
-
-
Constructor Details
-
ConstantFieldrefInfo
public ConstantFieldrefInfo(short classIndex, short nameAndTypeIndex)
-
-
Method Details
-
getClassInfo
- Returns:
- The
ClassFile.ConstantClassInfoof thisClassFile.ConstantFieldrefInfo
-
getNameAndType
- Returns:
- The
ClassFile.ConstantNameAndTypeInfoof thisClassFile.ConstantFieldrefInfo
-
isWide
public boolean isWide()- Specified by:
isWidein classClassFile.ConstantPoolInfo- Returns:
- Whether this CP entry is "wide" in the sense of JVMS7 4.4.5
-
store
Description copied from class:ClassFile.ConstantPoolInfoStores this CP entry into aDataOutputStream.See JVMS7 4.4.1 and following.
- Specified by:
storein classClassFile.ConstantPoolInfo- Throws:
IOException
-
toString
-
equals
-
hashCode
-