MCPcopy Index your code
hub / github.com/apache/groovy / doMethodInvoke

Method doMethodInvoke

src/main/java/groovy/lang/MetaMethod.java:295–302  ·  view source on GitHub ↗

Invokes the method this object represents. This method is not final but it should be overloaded very carefully and only by generated methods there is no guarantee that it will be called. @param object The object the method is to be called at. @param arguments Arguments for the method invocation

(final Object object, Object[] arguments)

Source from the content-addressed store, hash-verified

293 * @return The return value of the invoked method.
294 */
295 public Object doMethodInvoke(final Object object, Object[] arguments) {
296 arguments = coerceArgumentsToClasses(arguments);
297 try {
298 return invoke(object, arguments);
299 } catch (Exception e) {
300 throw processDoMethodInvokeException(e, object, arguments);
301 }
302 }
303
304 /**
305 * Called when an exception occurs while invoking this method.

Callers 7

invokeMethodMethod · 0.95
invokeStaticMethodMethod · 0.95
getPropertyMethod · 0.95
invokeMethodMethod · 0.95
invokeMethodMethod · 0.95
setPropertyMethod · 0.45

Calls 3

invokeMethod · 0.95

Tested by 1