Shouldn't this be easy with Semantic.
In fact, the function could show the list of
non-public properties for which a getter/setter does not
exist and let the user generate them in one shot
e.g.
Class Class1
Type Getter
Setter
non-final non-public property1 int [ ]getProperty1
[ ]setProperty1
non-final non-public property2 int getProperty2
[ ]setProperty2
final non-public property3 int [
]getProperty3
non-final non-public property4 boolean [ ]isProperty4 [
]setProperty4
Notice -
. no "[ ]" for property2, if, say, getter already exists
. missing "[ ]setProperty3" for final property3
. isProperty4 instead of getProperty4 for boolean property4
. auto insertion of static keyword for static properties
etc. etc.
Any takers ?
Something similar exists in VAJ and its' cool !
-sandip
> -----Original Message-----
> From: Daniel Hegyi [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 23, 2001 11:43 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: auto-gen get/set pairs for existing class variables
>
>
> >Is there a way to use the "Get/Set Pair..." template (or another
> >feature) to generate the get/set pairs for all class
> variables already
> >defined?
> >
> >I thought this feature existed, but must be dreaming (or maybe a
> >different tool?). I also didn't see anythning in the docs nor
> >archives that answered this.
>
> I agree. This feature would be very cool. It exists in some
> other IDEs and
> it is very handy.
>
> Daniel
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
>