org.apache.tapestry5.internal.plastic
Class MethodHandleImpl
java.lang.Object
org.apache.tapestry5.internal.plastic.MethodHandleImpl
- All Implemented Interfaces:
- MethodHandle
public class MethodHandleImpl
- extends Object
- implements MethodHandle
shim
protected volatile PlasticClassHandleShim shim
MethodHandleImpl
public MethodHandleImpl(String className,
String methodDescription,
int methodIndex)
toString
public String toString()
- Overrides:
toString
in class Object
invoke
public MethodInvocationResult invoke(Object instance,
Object... arguments)
- Description copied from interface:
MethodHandle
- Invokes the method for this handle on the instance.
- Specified by:
invoke
in interface MethodHandle
- Parameters:
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.
- Returns:
- result object encapsulating the actual return value or the checked exception thrown by the method
Copyright © 2003-2012 The Apache Software Foundation.