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

Method setResolveStrategy

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

Sets the strategy which the closure uses to resolve property references and methods. The default is Closure.OWNER_FIRST @param resolveStrategy The resolve strategy to set @see groovy.lang.Closure#DELEGATE_FIRST @see groovy.lang.Closure#DELEGATE_ONLY @see groovy.lang.Closure#OWNER_FIRST @see groovy

(int resolveStrategy)

Source from the content-addressed store, hash-verified

318 * @see groovy.lang.Closure#TO_SELF
319 */
320 public void setResolveStrategy(int resolveStrategy) {
321 this.resolveStrategy = resolveStrategy;
322 }
323
324 /**
325 * Gets the strategy which the closure uses to resolve methods and properties

Callers 15

createBindingMethod · 0.95
onNodeChildrenMethod · 0.95
onNodeChildrenMethod · 0.95
evaluateClosureMethod · 0.45
cloneWithDelegateMethod · 0.45
setUpdateMethod · 0.45
GStringTemplateMethod · 0.45
ClosureClass · 0.45

Calls

no outgoing calls

Tested by 1

evaluateClosureMethod · 0.36