Source:
<code>private void createGeneralSection(int nColumns, Composite parent) { int defaultIndent= 0; int extraIndent= LayoutUtil.getIndent(); String label= PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_section_general; Key twistieKey= OptionsConfigurationBlock.getLocalKey("JavaEditorCodeMiningPreferencePage_section_general"); PreferenceTreeNode<?> section= fFilteredPrefTree.addExpandableComposite(parent, label, nColumns, twistieKey, null, false); ExpandableComposite excomposite= getExpandableComposite(twistieKey); Composite inner= createInnerComposite(excomposite, nColumns, parent.getFont()); PreferenceTreeNode<Button> showReferences= fFilteredPrefTree.addCheckBox(inner, PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showReferences_label, PREF_SHOW_REFERENCES, TRUE_FALSE, defaultIndent, section); fFilteredPrefTree.addCheckBox(inner, PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showReferences_onClasses_label, PREF_SHOW_REFERENCES_ON_CLASSES, TRUE_FALSE, extraIndent, showReferences); fFilteredPrefTree.addCheckBox(inner, PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showReferences_onFields_label, PREF_SHOW_REFERENCES_ON_FIELDS, TRUE_FALSE, extraIndent, showReferences); fFilteredPrefTree.addCheckBox(inner, PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showReferences_onMethods_label, PREF_SHOW_REFERENCES_ON_METHODS, TRUE_FALSE, extraIndent, showReferences); PreferenceTreeNode<Button> <START> showImplementations= fFilteredPrefTree.addCheckBox(inner, <END> PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showImplementations_label, PREF_SHOW_IMPLEMENTATIONS, TRUE_FALSE, defaultIndent, section); }</code><technical_language>local variable is results in a warning</technical_language>

Target:
private void createGeneralSection(int nColumns, Composite parent) { int defaultIndent= 0; int extraIndent= LayoutUtil.getIndent(); String label= PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_section_general; Key twistieKey= OptionsConfigurationBlock.getLocalKey("JavaEditorCodeMiningPreferencePage_section_general"); PreferenceTreeNode<?> section= fFilteredPrefTree.addExpandableComposite(parent, label, nColumns, twistieKey, null, false); ExpandableComposite excomposite= getExpandableComposite(twistieKey); Composite inner= createInnerComposite(excomposite, nColumns, parent.getFont()); PreferenceTreeNode<Button> showReferences= fFilteredPrefTree.addCheckBox(inner, PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showReferences_label, PREF_SHOW_REFERENCES, TRUE_FALSE, defaultIndent, section); fFilteredPrefTree.addCheckBox(inner, PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showReferences_onClasses_label, PREF_SHOW_REFERENCES_ON_CLASSES, TRUE_FALSE, extraIndent, showReferences); fFilteredPrefTree.addCheckBox(inner, PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showReferences_onFields_label, PREF_SHOW_REFERENCES_ON_FIELDS, TRUE_FALSE, extraIndent, showReferences); fFilteredPrefTree.addCheckBox(inner, PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showReferences_onMethods_label, PREF_SHOW_REFERENCES_ON_METHODS, TRUE_FALSE, extraIndent, showReferences); fFilteredPrefTree.addCheckBox(inner, PreferencesMessages.JavaEditorCodeMiningConfigurationBlock_showImplementations_label, PREF_SHOW_IMPLEMENTATIONS, TRUE_FALSE, defaultIndent, section); }