Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 389246

Summary: [quick assist] Assign parameter to new field misses final
Product: [Eclipse Project] JDT Reporter: Holger Staudacher <holger.staudacher>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r, rsternberg
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Holger Staudacher CLA 2012-09-11 08:53:11 EDT
I remember that in earlier Eclipse version the quick assist to assign a parameter to a new field from a constructor made the new field final.

I think this is good practice because it eases the implementation of immutable types.

Since Eclipse 3.8/4.2 the final is missing when executing the assign to new field quick fix.

Please bring it back ;)
Comment 1 Markus Keller CLA 2012-09-11 09:49:55 EDT

*** This bug has been marked as a duplicate of bug 384922 ***