Bug 51984 Compiler settings: enable state not correctly updated
I200402122000 In the Java/Compiler/Advanced preference page, 'Include constructor or setter method parameter' is not correctly enable/disable when modifying the option 'Local variable declaration hides another field or variable'. Modifying one the options with sub-checkbox in 'Unused code' set the correct enable state in 'Advanced'.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java
addCheckBox(group, label, PREF_LINE_NUMBER_ATTR, generateValues, 0);		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.source_file_attr.label"); 
		addCheckBox(group, label, PREF_SOURCE_FILE_ATTR, generateValues, 0);		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.codegen_unused_local.label"); 
		addCheckBox(group, label, PREF_CODEGEN_UNUSED_LOCAL, new String[] { PRESERVE, OPTIMIZE_OUT }, 0);	
		
		return compComposite;
	}
		
	
	/* (non-javadoc)
	 * Update fields and validate.
	 * @param changedKey Key that changed, or null, if all changed.
	 */	
	protected void validateSettings(String changedKey, String newValue) {
		
		if (changedKey != null) {
			if (INTR_DEFAULT_COMPLIANCE.equals(changedKey)) {
				updateComplianceEnableState();
				if (DEFAULT_CONF.equals(newValue)) {
					updateComplianceDefaultSettings();
				}
				fComplianceStatus= validateCompliance();
			} else if (PREF_COMPLIANCE.equals(changedKey)) {
				if (checkValue(INTR_DEFAULT_COMPLIANCE, DEFAULT_CONF)) {
					updateComplianceDefaultSettings();
				}
				fComplianceStatus= validateCompliance();
			} else if (PREF_SOURCE_COMPATIBILITY.equals(changedKey) ||
					PREF_CODEGEN_TARGET_PLATFORM.equals(changedKey) ||