Say I have something like:
class Foo { static mapping = { table 'foo_table' } }
How can I get the name of foo_table if I have a reference to an instance of this object?
foo_table