CloneSet1138


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3940.955statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13190
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/code/ExtractMethodInputPage.java
23202
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/code/ExtractMethodInputPage.java
3392
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/InferTypeArgumentsWizard.java
43103
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/InferTypeArgumentsWizard.java
53128
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/sef/SelfEncapsulateFieldInputPage.java
63718
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
73723
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
83177
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java
93249
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java
Clone Instance
1
Line Count
3
Source Line
190
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/code/ExtractMethodInputPage.java

                checkBox.addSelectionListener(new SelectionAdapter() {
                        public void widgetSelected(SelectionEvent e) {
                                setRethrowRuntimeException(((Button) e.widget).getSelection());
                        }
                                              } );


Clone Instance
2
Line Count
3
Source Line
202
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/code/ExtractMethodInputPage.java

                checkBox.addSelectionListener(new SelectionAdapter() {
                        public void widgetSelected(SelectionEvent e) {
                                setGenerateJavadoc(((Button) e.widget).getSelection());
                        }
                                              } );


Clone Instance
3
Line Count
3
Source Line
92
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/InferTypeArgumentsWizard.java

                        cloneCheckBox.addSelectionListener(new SelectionAdapter() {
                                public void widgetSelected(SelectionEvent e) {
                                        setAssumeCloseReturnsSameType(((Button) e.widget).getSelection());
                                }
                                                           } );


Clone Instance
4
Line Count
3
Source Line
103
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/InferTypeArgumentsWizard.java

                        leaveRawCheckBox.addSelectionListener(new SelectionAdapter() {
                                public void widgetSelected(SelectionEvent e) {
                                        setLeaveUnconstrainedRaw(((Button) e.widget).getSelection());
                                }
                                                              } );


Clone Instance
5
Line Count
3
Source Line
128
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/sef/SelfEncapsulateFieldInputPage.java

                checkBox.addSelectionListener(new SelectionAdapter() {
                        public void widgetSelected(SelectionEvent e) {
                                setGenerateJavadoc(((Button) e.widget).getSelection());
                        }
                                              } );


Clone Instance
6
Line Count
3
Source Line
718
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java

                fIndentStyleCombo.addSelectionListener( new SelectionAdapter() {
                        public void widgetSelected(SelectionEvent e) {
                                indentStyleChanged(((Combo) e.widget).getSelectionIndex());
                        }
                                                        } );


Clone Instance
7
Line Count
3
Source Line
723
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java

                fWrappingStyleCombo.addSelectionListener( new SelectionAdapter() {
                        public void widgetSelected(SelectionEvent e) {
                                wrappingStyleChanged(((Combo) e.widget).getSelectionIndex());
                        }
                                                          } );


Clone Instance
8
Line Count
3
Source Line
177
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java

                        fCheckbox.addSelectionListener(new SelectionAdapter() {
                                public void widgetSelected(SelectionEvent e) {
                                        checkboxChecked(((Button) e.widget).getSelection());
                                }
                                                       } );


Clone Instance
9
Line Count
3
Source Line
249
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java

                        fCombo.addSelectionListener(new SelectionAdapter() {
                                public void widgetSelected(SelectionEvent e) {
                                        comboSelected(((Combo) e.widget).getSelectionIndex());
                                }
                                                    } );


Clone AbstractionParameter Count: 4Parameter Bindings

 [[#variable945f51a0]].addSelectionListener(new SelectionAdapter() {
                                              public void widgetSelected(SelectionEvent e) {
                                                 [[#variable945f5100]]((( [[#variable945f50c0]]) e.widget). [[#variable945f51c0]]());
                                              }
                                            } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#945f51a0]]
checkBox 
12[[#945f51a0]]
cloneCheckBox 
13[[#945f51a0]]
leaveRawCheckBox 
14[[#945f51a0]]
checkBox 
15[[#945f51a0]]
fCheckbox 
16[[#945f51a0]]
fCombo 
17[[#945f51a0]]
fIndentStyleCombo 
18[[#945f51a0]]
fWrappingStyleCombo 
19[[#945f51a0]]
checkBox 
21[[#945f5100]]
setGenerateJavadoc 
22[[#945f5100]]
setAssumeCloseReturnsSameType 
23[[#945f5100]]
setLeaveUnconstrainedRaw 
24[[#945f5100]]
setRethrowRuntimeException 
25[[#945f5100]]
checkboxChecked 
26[[#945f5100]]
comboSelected 
27[[#945f5100]]
indentStyleChanged 
28[[#945f5100]]
wrappingStyleChanged 
29[[#945f5100]]
setGenerateJavadoc 
31[[#945f50c0]]
Button 
32[[#945f50c0]]
Button 
33[[#945f50c0]]
Button 
34[[#945f50c0]]
Button 
35[[#945f50c0]]
Button 
36[[#945f50c0]]
Combo 
37[[#945f50c0]]
Combo 
38[[#945f50c0]]
Combo 
39[[#945f50c0]]
Button 
41[[#945f51c0]]
getSelection 
42[[#945f51c0]]
getSelection 
43[[#945f51c0]]
getSelection 
44[[#945f51c0]]
getSelection 
45[[#945f51c0]]
getSelection 
46[[#945f51c0]]
getSelectionIndex 
47[[#945f51c0]]
getSelectionIndex 
48[[#945f51c0]]
getSelectionIndex 
49[[#945f51c0]]
getSelection