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

Method pickMethod

src/main/java/groovy/lang/MetaClassImpl.java:4200–4203  ·  view source on GitHub ↗

Selects a method by name and argument classes. This method does not search for an exact match, it searches for a compatible method. For this the method selection mechanism is used as provided by the implementation of this MetaClass. pickMethod may or may not be used during the method selection proce

(String methodName, Class[] arguments)

Source from the content-addressed store, hash-verified

4198 * @throws GroovyRuntimeException if there is more than one matching method
4199 */
4200 @Override
4201 public MetaMethod pickMethod(String methodName, Class[] arguments) {
4202 return getMethodWithoutCaching(theClass, methodName, arguments, false);
4203 }
4204
4205 /**
4206 * indicates is the metaclass method invocation for non-static methods is done

Callers 1

getMetaMethodMethod · 0.95

Calls 1

Tested by

no test coverage detected