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