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