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

Bug 380044

Summary: [quickfix] Assign to Field considers private fields only
Product: [Eclipse Project] JDT Reporter: Marcel Bruch <marcel.bruch>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Example none

Description Marcel Bruch CLA 2012-05-19 04:34:53 EDT
Created attachment 215896 [details]
Example

Quick fiy seems to check whether there is a private field of the appropriate type only. IMHO it should check for any instance variable that may match instead and not propose creating a new field zip2 only.
Comment 1 Marcel Bruch CLA 2012-05-19 04:36:12 EDT
Sorry. Wrong type. :)