Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 2 | 0.963 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 555 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java |
2 | 16 | 355 | 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(PULL_UP_ACTION); else info.setAction(MemberActionInfo.NO_ACTION); updateWizardPage(null, true); } } ); fTableViewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick( final DoubleClickEvent event) { editSelectedMembers(); } } ); |
| ||||
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(); } } ); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2f2c7a0]] | PULL_UP_ACTION |
1 | 2 | [[#b2f2c7a0]] | MemberActionInfo.PUSH_DOWN_ACTION |
2 | 1 | [[#b2f2c780]] | editSelectedMembers() |
2 | 2 | [[#b2f2c780]] | PushDownInputPage.this.editSelectedMembers() |