GROOVY-6199: replace access to outer methods in a closure by owner with thisObject