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

Bug 496616

Summary: Fields generated for new constructor quick fix should be final
Product: [Eclipse Project] JDT Reporter: Oliver Drotbohm <odrotbohm>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard: stalebug

Description Oliver Drotbohm CLA 2016-06-23 04:40:36 EDT
The Neon release introduces a new quick fix for constructors taking parameters to suggest to assign those fields to fields [0]. It would be cool if there was a way to make these fields final to promote immutability.

[0] https://www.eclipse.org/neon/noteworthy/#_create_new_fields_from_method_parameters
Comment 1 Eclipse Genie CLA 2020-05-15 13:12:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.