[Jython-users] Auto getter/setter generation?
by Owen Densmore other posts by this author
Dec 4 2004 6:10AM messages near this date
Re: [Jython-users] Auto getter/setter generation?
|
Re: [Jython-users] Auto getter/setter generation?
I'm using Jython within a Java framework which uses bean
getter/setters. Thus when I build a class in Jython to be used by this
framework, I need to build getter/setter methods in the Jython class.
My question is: is there a way to have Jython auto-generate these?
Groovy, for example, intercepts getter/setters from Java and
automatically converts them to property/attribute requests. I presume
because Jython has foo.var abbreviations, it might somehow do a similar
thing, removing the need for the annoying getter/setter hand-made code.
Owen
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Jython-users mailing list
Jython-users@[...].net
https://lists.sourceforge.net/lists/listinfo/jython-users
Thread:
Owen Densmore
Diez B. Roggisch
|