Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | yaro <y...@mail.ru> |
Subject | Re: Bypassing local variables in a closure |
Date | Sat, 18 Jul 2015 14:09:12 GMT |
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. | |
Mime |
|
View raw message |