public class MethodHandleImpl extends java.lang.Object implements MethodHandle
Modifier and Type | Field and Description |
---|---|
protected PlasticClassHandleShim |
shim |
Constructor and Description |
---|
MethodHandleImpl(java.lang.String className,
java.lang.String methodDescription,
int methodIndex) |
Modifier and Type | Method and Description |
---|---|
MethodInvocationResult |
invoke(java.lang.Object instance,
java.lang.Object... arguments)
Invokes the method for this handle on the instance.
|
java.lang.String |
toString() |
protected volatile PlasticClassHandleShim shim
public MethodHandleImpl(java.lang.String className, java.lang.String methodDescription, int methodIndex)
public java.lang.String toString()
toString
in class java.lang.Object
public MethodInvocationResult invoke(java.lang.Object instance, java.lang.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.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.