Is there a way I can create a Java class with a pair of "general" getter/setter methods such as
public Object get(String name);
public void set(String name, Object object);
and make Groovy translate statements such as
myObject.foo = 'bar'
to
myObject.set("foo", "bar")?
(myObject being an instance of the Java class having the get(String) and set(String, Object) methods)