Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
have some kinda way to do this
MethodProxy proxy = metaClass.getMethod("name", List arguments)
if (proxy != null)
else
{ // invoke on delegate InvokeHelper.invokeMethod(delegate, name, arguments) }
so rather than just doing 'hasMethod' or 'understandsMethod' we can return
a Closure or MethodProxy or something or null if a method is not understood