Class ConstantMethodHandleInfo
java.lang.Object
org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
org.fife.rsta.ac.java.classreader.constantpool.ConstantMethodHandleInfo
- All Implemented Interfaces:
ConstantTypes
Class representing a
CONSTANT_MethodHandle structure.- Version:
- 1.0
-
Field Summary
FieldsFields inherited from interface ConstantTypes
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic, CONSTANT_Long, CONSTANT_MethodHandle, CONSTANT_Methodref, CONSTANT_MethodType, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8 -
Constructor Summary
ConstructorsConstructorDescriptionConstantMethodHandleInfo(int referenceKind, int referenceIndex) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionintinttoString()Returns a string representation of this object.Methods inherited from class ConstantPoolInfo
getTag
-
Field Details
-
referenceKind
private int referenceKind -
referenceIndex
private int referenceIndex
-
-
Constructor Details
-
ConstantMethodHandleInfo
public ConstantMethodHandleInfo(int referenceKind, int referenceIndex) Constructor.- Parameters:
referenceKind- The reference kind.referenceIndex- The reference index.
-
-
Method Details
-
getReferenceKind
public int getReferenceKind() -
getReferenceIndex
public int getReferenceIndex() -
toString
-