public class ConvertedClosure extends ConversionHandler
This class is a general adapter to adapt a closure to any Java interface.
Constructor and description |
---|
ConvertedClosure
(Closure closure, String method) to create a ConvertedClosure object. |
ConvertedClosure
(Closure closure) |
Type Params | Return Type | Name and description |
---|---|---|
|
Object |
invokeCustom(Object proxy, Method method, Object[] args) |
Methods inherited from class | Name |
---|---|
class ConversionHandler |
checkMethod, equals, getDelegate, hashCode, invoke, invokeCustom, isCoreObjectMethod, isDefaultMethod, toString |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2017 The Apache Software Foundation. All rights reserved.