| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 3 | 0.954 | statement_sequence[5] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 60 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ProjectSelectionDialog.java |
| 2 | 9 | 70 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ProjectSelectionDialog.java |
| ||||
final Button addExported = new Button(composite, SWT.CHECK);
addExported.setText(ActionMessages.ProjectSelectionDialog_Add_exported_entries_of_selected_projects__1);
addExported.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
fAddExportedEntries = addExported.getSelection();
}
} );
addExported.setSelection(fAddExportedEntries);
addExported.setFont(font);
|
| ||||
final Button addRequired = new Button(composite, SWT.CHECK);
addRequired.setText(ActionMessages.ProjectSelectionDialog_Add_required_projects_of_selected_projects__2);
addRequired.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
fAddRequiredProjects = addRequired.getSelection();
}
} );
addRequired.setSelection(fAddRequiredProjects);
addRequired.setFont(font);
|
| |||
final Button [[#variable94e07160]]= new Button(composite, SWT.CHECK);
[[#variable94e07160]].setText(ActionMessages. [[#variable95b3e260]]);
[[#variable94e07160]].addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
[[#variable9aee0720]]= [[#variable94e07160]].getSelection();
}
} );
[[#variable94e07160]].setSelection( [[#variable9aee0720]]);
[[#variable94e07160]].setFont(font);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#94e07160]] | addRequired |
| 1 | 2 | [[#94e07160]] | addExported |
| 2 | 1 | [[#95b3e260]] | ProjectSelectionDialog_Add_required_projects_of_selected_projects__2 |
| 2 | 2 | [[#95b3e260]] | ProjectSelectionDialog_Add_exported_entries_of_selected_projects__1 |
| 3 | 1 | [[#9aee0720]] | fAddRequiredProjects |
| 3 | 2 | [[#9aee0720]] | fAddExportedEntries |