MCPcopy Create free account
hub / github.com/apache/groovy / setDelegate

Method setDelegate

src/main/java/groovy/lang/Closure.java:607–609  ·  view source on GitHub ↗

Allows the delegate to be changed such as when performing markup building @param delegate the new delegate

(Object delegate)

Source from the content-addressed store, hash-verified

605 * @param delegate the new delegate
606 */
607 public void setDelegate(Object delegate) {
608 this.delegate = delegate;
609 }
610
611 /**
612 * @return the parameter types of the longest doCall method

Callers 15

buildMethod · 0.95
makeMethod · 0.95
onNodeChildrenMethod · 0.95
onNodeChildrenMethod · 0.95
invokeMethod · 0.95
invokeMethod · 0.95
invokeMethod · 0.95
evaluateClosureMethod · 0.45
cloneWithDelegateMethod · 0.45
handleNotificationMethod · 0.45

Calls

no outgoing calls

Tested by 2

evaluateClosureMethod · 0.36
transactionMethod · 0.36