Refactoring to add and remove new fields

Stupid question time as I'm starting to wonder if I just dreamed doing this in the past. Is there a way to add a new property to a given class and automatically have the getter & setters created and any equals() and hascode() methods updated? Probally a similar set of changes in reverse for property removal.

PS. Just out of interest has anybody been able to template the creation of PropertyChangeListener bound beans? or for that matter any other binding framework beans.

-      Richard

Please sign in to leave a comment.