public class MethodHandleImpl extends Object implements MethodHandle
Modifier and Type | Field and Description |
---|---|
protected PlasticClassHandleShim |
shim |
Constructor and Description |
---|
MethodHandleImpl(String className,
String methodDescription,
int methodIndex) |
Modifier and Type | Method and Description |
---|---|
MethodInvocationResult |
invoke(Object instance,
Object... arguments)
Invokes the method for this handle on the instance.
|
String |
toString() |
protected volatile PlasticClassHandleShim shim
public MethodHandleImpl(String className, String methodDescription, int methodIndex)
public MethodInvocationResult invoke(Object instance, Object... arguments)
MethodHandle
invoke
in interface MethodHandle
instance
- the instance containing the method to invokearguments
- the arguments, if any, to pass to the method. Wrapper types will be unwrapped as necessary
to perform the invocation.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.