public abstract class AbstractClosureFactory extends java.lang.Object implements ClosureFactory
ClosureFactory.| Constructor and Description |
|---|
AbstractClosureFactory() |
| Modifier and Type | Method and Description |
|---|---|
Closure |
createClosure(MetaHolder metaHolder,
java.lang.reflect.Method method,
java.lang.Object o,
java.lang.Object... args)
Creates closure in accordance with method return type.
|
public Closure createClosure(MetaHolder metaHolder, java.lang.reflect.Method method, java.lang.Object o, java.lang.Object... args)
ClosureFactorycreateClosure in interface ClosureFactorymetaHolder - the meta holdermethod - the external method within which closure is createdo - the object the underlying method is invoked fromargs - the arguments used for the method callClosure instance