grkuntzmd schrieb:
> The Groovy compilation process inserts setter methods into GroovyBeans
> automatically if they have not been previously defined.
>
> Is it possible to "intercept" this process and insert my modified code?
just add/replace the methods on the classNode with MethodNode. I suggest
adding them, then the automatically generated getter and setter won't be
added unless you are in the wrong compilation phase.. Therefor I suggest
to use the most early phase possible... see my blog post for details
about the phases.
bye blackdrag
--
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (
http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/http://www.g2one.com/---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email