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)
| 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 |
no outgoing calls