Community
Participate
Working Groups
Build Identifier: 20100917-0705 in Preferences->Java->Code Style->Conventions for variable names i defined Parameters to start with "a". in my class i got a field int myFoo and let eclipse create getter and setter (via Quick Fix). the generated setter looks like public void setFoo(int foo){ myFoo = foo; } but, from the configuration in Preferences->Java->Code Style->Conventions for variable names i expect it to look like public void setFoo(int aFoo){ myFoo = aFoo; } Reproducible: Always Steps to Reproduce: 1. configure a Parameter-prefix in Preferences->Java->Code Style->Conventions for variable names 2. let eclipse create a setter 3. watch the configured prefix being ignored
Using HEAD, I get: public void setMyFoo(int aMyFoo) { myFoo = aMyFoo; }
via Quick Fix or context menu -> Source -> Generate Setters and Getters? the latter apparently respects the settings, Quick Fix does not.
Move to JDT/UI
*** This bug has been marked as a duplicate of bug 252779 ***