I have not been able to figure this one out ... I always end up
manually removing "get". Drives me crazy. If anyone knows of a fix
for this, definitely post.
On Mar 20, 2007, at 7:53 AM, Kieran Kelleher wrote:
> Ah, found the Code Style setting which allows you to specify
> prefixes, such as underscore, for fields. Getter/setter generation
> is better now except I want to get rid of the "get" prefix..... See
> attached screenshot:
> <pastedGraphic.tiff>
>
>
> On Mar 20, 2007, at 7:16 AM, Kieran Kelleher wrote:
>
>> Yeah, I tried that but it does not do the underscore thing
>> (WOBuilder did) which is a convention I have established in my
>> projects that is used to identify ivars in stateless WOComponents
>> (which for me is every non-page component) that are automatically
>> reset.
>>
>> If I use an ivar beginning with an underscore and do auto generate
>> setter/getter, I get this ugly mess:
>> protected Object _myAutoResetVar;
>>
>> public Object get_myAutoResetVar() {
>> return _myAutoResetVar;
>> }
>>
>> public void set_myAutoResetVar(Object autoResetVar) {
>> _myAutoResetVar = autoResetVar;
>> }
>>
>>
>
This archive was generated by hypermail 2.0.0 : Tue Mar 20 2007 - 07:59:57 EDT