CloneSet5377


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.985statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15429
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistAdvancedConfigurationBlock.java
25523
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistAdvancedConfigurationBlock.java
Clone Instance
1
Line Count
5
Source Line
429
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistAdvancedConfigurationBlock.java

                fDefaultViewer.addCheckStateListener(new ICheckStateListener() {
                        public void checkStateChanged(CheckStateChangedEvent event) {
                                boolean checked = event.getChecked();
                                ModelElement element = (ModelElement) event.getElement();
                                element.setInDefaultCategory(checked);
                        }
                                                     } );


Clone Instance
2
Line Count
5
Source Line
523
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistAdvancedConfigurationBlock.java

                fSeparateViewer.addCheckStateListener(new ICheckStateListener() {
                        public void checkStateChanged(CheckStateChangedEvent event) {
                                boolean checked = event.getChecked();
                                ModelElement element = (ModelElement) event.getElement();
                                element.setSeparateCommand(checked);
                        }
                                                      } );


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variablea51ad8c0]].addCheckStateListener(new ICheckStateListener() {
                                               public void checkStateChanged(CheckStateChangedEvent event) {
                                                 boolean checked = event.getChecked();
                                                 ModelElement element = (ModelElement) event.getElement();
                                                 element. [[#variablea525a3e0]](checked);
                                               }
                                             } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a51ad8c0]]
fDefaultViewer 
12[[#a51ad8c0]]
fSeparateViewer 
21[[#a525a3e0]]
setInDefaultCategory 
22[[#a525a3e0]]
setSeparateCommand