Package classycle.classfile
Class MethodHandleConstant
- java.lang.Object
-
- classycle.classfile.Constant
-
- classycle.classfile.MethodHandleConstant
-
public class MethodHandleConstant extends Constant
Constant representing a method handle.- Author:
- Franz-Josef Elmer
-
-
Constructor Summary
Constructors Constructor Description MethodHandleConstant(Constant[] pool, int referenceKind, int referenceIndex)
Creates an instance for the specified method reference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Returns constant type, reference kind, and index.-
Methods inherited from class classycle.classfile.Constant
extractConstantPool, getConstant
-
-
-
-
Constructor Detail
-
MethodHandleConstant
public MethodHandleConstant(Constant[] pool, int referenceKind, int referenceIndex)
Creates an instance for the specified method reference.- Parameters:
pool
- Constant pool. Needed to resolve references.
-
-