Class MethodHandleImpl
- java.lang.Object
 - 
- org.apache.tapestry5.internal.plastic.MethodHandleImpl
 
 
- 
- All Implemented Interfaces:
 MethodHandle
public class MethodHandleImpl extends Object implements MethodHandle
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected PlasticClassHandleShimshim 
- 
Constructor Summary
Constructors Constructor Description MethodHandleImpl(String className, String methodDescription, int methodIndex) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodInvocationResultinvoke(Object instance, Object... arguments)Invokes the method for this handle on the instance.StringtoString() 
 - 
 
- 
- 
Field Detail
- 
shim
protected volatile PlasticClassHandleShim shim
 
 - 
 
- 
Constructor Detail
- 
MethodHandleImpl
public MethodHandleImpl(String className, String methodDescription, int methodIndex)
 
 - 
 
- 
Method Detail
- 
invoke
public MethodInvocationResult invoke(Object instance, Object... arguments)
Description copied from interface:MethodHandleInvokes the method for this handle on the instance.- Specified by:
 invokein interfaceMethodHandle- 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
 
 
 - 
 
 -