public class ConvertedClosure extends ConversionHandler implements java.io.Serializable
| Constructor and Description |
|---|
ConvertedClosure(Closure closure) |
ConvertedClosure(Closure closure,
java.lang.String method)
to create a ConvertedClosure object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invokeCustom(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
This method is called for all Methods not defined on Object.
|
checkMethod, equals, getDelegate, hashCode, invoke, isCoreObjectMethod, isDefaultMethod, toStringpublic ConvertedClosure(Closure closure, java.lang.String method)
closure - the closure object.public ConvertedClosure(Closure closure)
public java.lang.Object invokeCustom(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
ConversionHandlerinvokeCustom in class ConversionHandlerproxy - the proxymethod - the methodargs - the argumentsjava.lang.Throwable - any exception causes by the delegateConversionHandler.invoke(Object, Method, Object[]),
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])