CloneSet2270


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16220.963statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116555
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java
216355
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java
Clone Instance
1
Line Count
16
Source Line
555
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java

                fTableViewer.addCheckStateListener(new ICheckStateListener() {

                        public void checkStateChanged( final CheckStateChangedEvent event) {
                                final boolean checked = event.getChecked();
                                final MemberActionInfo info = (MemberActionInfo) event.getElement();
                                if (checked)
                                        info.setAction(PULL_UP_ACTION);
                                else
                                        info.setAction(MemberActionInfo.NO_ACTION);
                                updateWizardPage(null, true);
                        }
                                                   } );
                fTableViewer.addDoubleClickListener(new IDoubleClickListener() {

                        public void doubleClick( final DoubleClickEvent event) {
                                editSelectedMembers();
                        }
                                                    } );


Clone Instance
2
Line Count
16
Source Line
355
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java

                        fTableViewer.addCheckStateListener(new ICheckStateListener() {

                                public void checkStateChanged( final CheckStateChangedEvent event) {
                                        final boolean checked = event.getChecked();
                                        final MemberActionInfo info = (MemberActionInfo) event.getElement();
                                        if (checked)
                                                info.setAction(MemberActionInfo.PUSH_DOWN_ACTION);
                                        else
                                                info.setAction(MemberActionInfo.NO_ACTION);
                                        updateWizardPage(null, true);
                                }
                                                           } );
                        fTableViewer.addDoubleClickListener(new IDoubleClickListener() {

                                public void doubleClick( final DoubleClickEvent event) {
                                        PushDownInputPage.this.editSelectedMembers();
                                }
                                                            } );


Clone AbstractionParameter Count: 2Parameter Bindings

fTableViewer.addCheckStateListener(new ICheckStateListener() {
                                     public void checkStateChanged( final CheckStateChangedEvent event) {
                                       final boolean checked = event.getChecked();
                                       final MemberActionInfo info = (MemberActionInfo) event.getElement();
                                       if (checked)
                                         info.setAction( [[#variableb2f2c7a0]]);
                                       else
                                         info.setAction(MemberActionInfo.NO_ACTION);
                                       updateWizardPage(null, true);
                                     }
                                   } );
fTableViewer.addDoubleClickListener(new IDoubleClickListener() {
                                      public void doubleClick( final DoubleClickEvent event) {
                                         [[#variableb2f2c780]];
                                      }
                                    } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2f2c7a0]]
PULL_UP_ACTION 
12[[#b2f2c7a0]]
MemberActionInfo.PUSH_DOWN_ACTION 
21[[#b2f2c780]]
editSelectedMembers() 
22[[#b2f2c780]]
PushDownInputPage.this.editSelectedMembers()