This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 109167

Summary: Allow automatic field encapsulation for other code convention...
Product: java Reporter: jcrada <jcrada>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: Macintosh   
OS: All   
URL: http://jcrada.googlepages.com
Issue Type: ENHANCEMENT Exception Reporter:

Description jcrada 2007-07-09 18:55:11 UTC
Hi, at the company I work for we name variables following this convention:
 * all variables are in small caps separated by '_'
 * when they are class variables they start with '_'.
I would really appreciate it if you could allow the developer to change default convention for refactoring, particularly field encapsulation. I know this is a 
not Java Standard convention but I think this way is a lot better because camel case names are most likely a Class convention.
Another approach that would be nice is that when you change the getters name, setters sets using the same name. I mean, when I change getFirst_name to 
getFirstName, the setter should be set automatically following this convention. Or at least have a button to do it.

Thanks again,

Juan Rada