Project: JDT
Bug 252779 [encapsulate field] Encapsulate field does not use parameter prefix code style
Reported: 2008-10-30 11:47:57 | Status: resolved fixed

Automatic generation of GETTER and SETTER methods don t use configured naming conventions. for example. i configured "par" as a prefix for parameter values. for the field: private Long invoiceId ; the generated SETTER looks like: public void setInvoiceId ( Long invoiceId ) { this.invoiceId = invoiceId ; } but it should : public void setInvoiceId ( Long parInvoiceId ) { this.invoiceId = parInvoiceId ; }

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java