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

Bug 118116

Summary: Quick fix for new final fields
Product: [Eclipse Project] JDT Reporter: rick cameron <rick.cameron>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description rick cameron CLA 2005-11-25 17:02:09 EST
I often add a final field (usually private) to a class and then need to update the constructors of the class to initialise it. Eclipse offers no quick fixes for this.
One obvious quick fix would be to add a parameter to the constructor and a line to initialise the field from the parameter. This is usually what I want to do.
Comment 1 Martin Aeschlimann CLA 2005-11-28 06:05:18 EST

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