And a related question:  is it possible to get a list of variables declared
locally in a method of a class?
I.e.:
class SomeClass {
  def someMethod() {
    def var1 = 5
    def var2 = 10
    
    print decaredVariables() // ??
  }
}



--
View this message in context: 
http://groovy.329449.n5.nabble.com/Bypassing-local-variables-in-a-closure-tp5726326p5726365.html
Sent from the Groovy Users mailing list archive at Nabble.com.

Reply via email to