groovy/method-reference: turn a method into a closure