CloneSet2025


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15250.964statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115159
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/SelectImportsDialog.java
215174
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/SelectImportsDialog.java
Clone Instance
1
Line Count
15
Source Line
159
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/SelectImportsDialog.java

                fAddTypeButton.addSelectionListener(new SelectionListener() {
                        public void widgetSelected(SelectionEvent se) {
                                addType();
                        }

                        public void widgetDefaultSelected(SelectionEvent se) {
                        }
                                                    } );
                // Add package button
                fAddPackageButton = new Button(buttonContainer, SWT.PUSH);
                fAddPackageButton.setText(SnippetMessages.getString("SelectImportsDialog.Add_&Package_3")); //$NON-NLS-1$
                fAddPackageButton.setToolTipText(SnippetMessages.getString("SelectImportsDialog.Choose_a_Package_to_Add_as_an_Import_4")); //$NON-NLS-1$
                gd = getButtonGridData(fAddPackageButton);
                fAddPackageButton.setLayoutData(gd);
                fAddPackageButton.setFont(font);


Clone Instance
2
Line Count
15
Source Line
174
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/SelectImportsDialog.java

                fAddPackageButton.addSelectionListener(new SelectionListener() {
                        public void widgetSelected(SelectionEvent se) {
                                addPackage();
                        }

                        public void widgetDefaultSelected(SelectionEvent se) {
                        }
                                                       } );
                // Remove button
                fRemoveImportsButton = new Button(buttonContainer, SWT.PUSH);
                fRemoveImportsButton.setText(SnippetMessages.getString("SelectImportsDialog.&Remove_5")); //$NON-NLS-1$
                fRemoveImportsButton.setToolTipText(SnippetMessages.getString("SelectImportsDialog.Remove_All_Selected_Imports_6")); //$NON-NLS-1$
                gd = getButtonGridData(fRemoveImportsButton);
                fRemoveImportsButton.setLayoutData(gd);
                fRemoveImportsButton.setFont(font);


Clone AbstractionParameter Count: 5Parameter Bindings

 [[#variableb2a3f620]].addSelectionListener(new SelectionListener() {
                                              public void widgetSelected(SelectionEvent se) {
                                                 [[#variableb2a3f5a0]]();
                                              }

                                              public void widgetDefaultSelected(SelectionEvent se) {
                                              }
                                            } );
 [[#variableb2a3f500]]= new Button(buttonContainer, SWT.PUSH);
 [[#variableb2a3f500]].setText(SnippetMessages.getString( [[#variablea5c20240]])); //$NON-NLS-1$
 [[#variableb2a3f500]].setToolTipText(SnippetMessages.getString( [[#variablea5c202a0]])); //$NON-NLS-1$
gd = getButtonGridData( [[#variableb2a3f500]]);
 [[#variableb2a3f500]].setLayoutData(gd);
 [[#variableb2a3f500]].setFont(font);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2a3f620]]
fAddTypeButton 
12[[#b2a3f620]]
fAddPackageButton 
21[[#b2a3f5a0]]
addType 
22[[#b2a3f5a0]]
addPackage 
31[[#b2a3f500]]
// Add package button
fAddPackageButton 
32[[#b2a3f500]]
// Remove button
fRemoveImportsButton 
41[[#a5c20240]]
"SelectImportsDialog.Add_&Package_3" 
42[[#a5c20240]]
"SelectImportsDialog.&Remove_5" 
51[[#a5c202a0]]
"SelectImportsDialog.Choose_a_Package_to_Add_as_an_Import_4" 
52[[#a5c202a0]]
"SelectImportsDialog.Remove_All_Selected_Imports_6"