Printing out variables and values in a Groovy object

Posted by geejay on Stack Overflow See other posts from Stack Overflow or by geejay
Published on 2010-06-18T12:49:23Z Indexed on 2010/06/18 12:53 UTC
Read the original article Hit count: 203

Filed under:
|

How can I print out the (public and internal) variables and their values of a Groovy object?

This has to be a dynamic solution, i.e at runtime.

© Stack Overflow or respective owner

Related posts about groovy

Related posts about metaprogramming