Package org.codehaus.janino.util
Class ClassFile.ConstantMethodHandleInfo
java.lang.Object
org.codehaus.janino.util.ClassFile.ConstantPoolInfo
org.codehaus.janino.util.ClassFile.ConstantMethodHandleInfo
- Enclosing class:
ClassFile
See JVMS7 4.4.8.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final short
private final byte
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
short
byte
int
hashCode()
boolean
isWide()
void
store
(DataOutputStream dos) Stores this CP entry into aDataOutputStream
.toString()
-
Field Details
-
referenceKind
private final byte referenceKind -
referenceIndex
private final short referenceIndex
-
-
Constructor Details
-
ConstantMethodHandleInfo
public ConstantMethodHandleInfo(byte referenceKind, short referenceIndex)
-
-
Method Details
-
getReferenceKind
public byte getReferenceKind() -
getReferenceIndex
public short getReferenceIndex() -
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()
-