Source:
<code>public void createControl(Composite parent) { setTitle(Messages.OverrideMethodsInputPage_Name); setMessage(Messages.OverrideMethodsInputPage_Header); Composite comp = new Composite(parent, SWT.NONE); comp.setLayout(new GridLayout(2, false)); createTree(comp); GridData gd = new GridData(GridData.FILL_BOTH); fTree.getTree().setLayoutData(gd); Composite buttonContainer = createButtons(comp); gd = new GridData(); gd.verticalAlignment = SWT.TOP; buttonContainer.setLayoutData(gd); final Button ignoreVirtual = new Button(comp, SWT.CHECK); gd = new GridData(); gd.horizontalSpan = 2; gd.heightHint = 20; ignoreVirtual.setLayoutData(gd); ignoreVirtual.setText(Messages.OverrideMethodsRefactoring_IgnoreVirtual); ignoreVirtual.setSelection(fRefactoring.getOptions().ignoreVirtual()); ignoreVirtual.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { fRefactoring.getOptions().setIgnoreVirtual(ignoreVirtual.getSelection()); } }); final Button addOverridden = new Button(comp, SWT.CHECK); gd = new GridData(); gd.horizontalSpan = 2; gd.heightHint = 40; addOverridden.setLayoutData(gd); addOverridden.setText(Messages.OverrideMethodsRefactoring_AddOverride); addOverridden.setSelection(fRefactoring.getOptions().addOverride()); addOverridden.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { fRefactoring.getOptions().setAddOverride(addOverridden.getSelection()); } }); Link link = new Link(comp, SWT.WRAP); link.setText(Messages.OverrideMethodsRefactoring_LinkDescription); link.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { <START> String id = CodeStylePreferencePage.PREF_ID; <END> PreferencesUtil.createPreferenceDialogOn(getShell(), id, new String[] { id }, null).open(); } }); link.setToolTipText(Messages.OverrideMethodsRefactoring_LinkTooltip); gd = new GridData(SWT.FILL, SWT.CENTER, true, false); gd.grabExcessHorizontalSpace = true; link.setLayoutData(gd); checkPageComplete(); setControl(comp); }</code><technical_language>inline this variable</technical_language>

Target:
public void createControl(Composite parent) { setTitle(Messages.OverrideMethodsInputPage_Name); setMessage(Messages.OverrideMethodsInputPage_Header); Composite comp = new Composite(parent, SWT.NONE); comp.setLayout(new GridLayout(2, false)); createTree(comp); GridData gd = new GridData(GridData.FILL_BOTH); fTree.getTree().setLayoutData(gd); Composite buttonContainer = createButtons(comp); gd = new GridData(); gd.verticalAlignment = SWT.TOP; buttonContainer.setLayoutData(gd); final Button ignoreVirtual = new Button(comp, SWT.CHECK); gd = new GridData(); gd.horizontalSpan = 2; gd.heightHint = 20; ignoreVirtual.setLayoutData(gd); ignoreVirtual.setText(Messages.OverrideMethodsRefactoring_PreserveVirtual); ignoreVirtual.setSelection(fRefactoring.getOptions().preserveVirtual()); ignoreVirtual.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { fRefactoring.getOptions().setPreserveVirtual(ignoreVirtual.getSelection()); } }); final Button addOverridden = new Button(comp, SWT.CHECK); gd = new GridData(); gd.horizontalSpan = 2; gd.heightHint = 40; addOverridden.setLayoutData(gd); addOverridden.setText(Messages.OverrideMethodsRefactoring_AddOverride); addOverridden.setSelection(fRefactoring.getOptions().addOverride()); addOverridden.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { fRefactoring.getOptions().setAddOverride(addOverridden.getSelection()); } }); Link link = new Link(comp, SWT.WRAP); link.setText(Messages.OverrideMethodsRefactoring_LinkDescription); link.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { PreferencesUtil.createPreferenceDialogOn(getShell(), CodeStylePreferencePage.PREF_ID, new String[] { CodeStylePreferencePage.PREF_ID }, null).open(); } }); link.setToolTipText(Messages.OverrideMethodsRefactoring_LinkTooltip); gd = new GridData(SWT.FILL, SWT.CENTER, true, false); gd.grabExcessHorizontalSpace = true; link.setLayoutData(gd); checkPageComplete(); setControl(comp); }