Bug 80364 [Quick Assist] "Assign parameter to field" does not work for existing field
In this small example, there does not occur the quick-fix to "Assign parameter to new field": public class Foo { private final Bar bar; public Foo(Bar bar) { } } Even worse: when I remove the final from the variable declaration, invoking the quick-fix creates a new variable bar2 instead of reusing the existing one.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMessages.java
private static final String BUNDLE_NAME= CorrectionMessages.class.getName();
	private CorrectionMessages() {
		
	}
	public static String SerialVersionSubProcessor_createdefault_description;
	public static String SerialVersionSubProcessor_createhashed_description;
	public static String SerialVersionLaunchConfigurationDelegate_setting_up;
	public static String SerialVersionLaunchConfigurationDelegate_starting_vm;
	public static String SerialVersionLaunchConfigurationDelegate_launching_computation;
	public static String SerialVersionLaunchConfigurationDelegate_launching_vm;
	public static String SerialVersionLaunchConfigurationDelegate_verifying_launch_attributes;
	public static String SerialVersionLaunchConfigurationDelegate_constructing_command_line;
	public static String SerialVersionDefaultProposal_message_default_info;
	public static String SerialVersionHashProposal_message_generated_info;
	public static String SerialVersionHashProposal_dialog_error_caption;
	public static String SerialVersionHashProposal_dialog_error_message;
	public static String SerialVersionHashProposal_wrong_launch_delegate;
	public static String SerialVersionHashProposal_wrong_executable;
	public static String SerialVersionHashProposal_computing_id;
	public static String SerialVersionHashProposal_save_caption;
	public static String SerialVersionHashProposal_save_message;
	public static String SerialVersionHashProposal_unable_locate_executable;
	public static String CorrectPackageDeclarationProposal_name;