public class MethodHandleConstant extends Constant
Constructor and Description |
---|
MethodHandleConstant(Constant[] pool,
int referenceKind,
int referenceIndex)
Creates an instance for the specified method reference.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns constant type, reference kind, and index.
|
extractConstantPool, getConstant
public MethodHandleConstant(Constant[] pool, int referenceKind, int referenceIndex)
pool
- Constant pool. Needed to resolve references.