public interface ClosureFactory
Closure class.| 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.
|
Closure createClosure(MetaHolder metaHolder, java.lang.reflect.Method method, java.lang.Object o, java.lang.Object... args)
metaHolder - 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