CloneSet955


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17210.980statement_sequence[11]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117228
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInstanceMethodWizard.java
217121
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveMembersWizard.java
Clone Instance
1
Line Count
17
Source Line
228
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInstanceMethodWizard.java

                                data = new GridData();
                                data.horizontalAlignment = GridData.FILL;
                                data.horizontalIndent = (layout.marginWidth + fDeprecateDelegateCheckBox.computeSize(SWT.DEFAULT, SWT.DEFAULT).x);
                                data.horizontalSpan = 2;
                                fDeprecateDelegateCheckBox.setLayoutData(data);
                                fDeprecateDelegateCheckBox.setText(DelegateUIHelper.getDeprecateDelegateCheckBoxTitle());
                                fDeprecateDelegateCheckBox.setSelection(DelegateUIHelper.loadDeprecateDelegateSetting(fProcessor));
                                fProcessor.setDeprecateDelegates(fDeprecateDelegateCheckBox.getSelection());
                                fDeprecateDelegateCheckBox.addSelectionListener(new SelectionAdapter() {
                                        public void widgetSelected(SelectionEvent e) {
                                                fProcessor.setDeprecateDelegates(fDeprecateDelegateCheckBox.getSelection());
                                        }
                                                                                } );
                                fDeprecateDelegateCheckBox.setEnabled(fLeaveDelegateCheckBox.getSelection());
                                fLeaveDelegateCheckBox.addSelectionListener(new SelectionAdapter() {
                                        public void widgetSelected(SelectionEvent e) {
                                                fDeprecateDelegateCheckBox.setEnabled(fLeaveDelegateCheckBox.getSelection());
                                        }
                                                                            } );


Clone Instance
2
Line Count
17
Source Line
121
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveMembersWizard.java

                                data = new GridData();
                                data.horizontalAlignment = GridData.FILL;
                                data.horizontalIndent = (layout.marginWidth + fDeprecateDelegateCheckBox.computeSize(SWT.DEFAULT, SWT.DEFAULT).x);
                                data.horizontalSpan = 2;
                                fDeprecateDelegateCheckBox.setLayoutData(data);
                                fDeprecateDelegateCheckBox.setText(DelegateUIHelper.getDeprecateDelegateCheckBoxTitle());
                                fDeprecateDelegateCheckBox.setSelection(DelegateUIHelper.loadDeprecateDelegateSetting(getMoveProcessor()));
                                getMoveProcessor().setDeprecateDelegates(fDeprecateDelegateCheckBox.getSelection());
                                fDeprecateDelegateCheckBox.addSelectionListener(new SelectionAdapter() {
                                        public void widgetSelected(SelectionEvent e) {
                                                getMoveProcessor().setDeprecateDelegates(fDeprecateDelegateCheckBox.getSelection());
                                        }
                                                                                } );
                                fDeprecateDelegateCheckBox.setEnabled(fLeaveDelegateCheckBox.getSelection());
                                fLeaveDelegateCheckBox.addSelectionListener(new SelectionAdapter() {
                                        public void widgetSelected(SelectionEvent e) {
                                                fDeprecateDelegateCheckBox.setEnabled(fLeaveDelegateCheckBox.getSelection());
                                        }
                                                                            } );


Clone AbstractionParameter Count: 1Parameter Bindings

data = new GridData();
data.horizontalAlignment = GridData.FILL;
data.horizontalIndent = (layout.marginWidth + fDeprecateDelegateCheckBox.computeSize(SWT.DEFAULT, SWT.DEFAULT).x);
data.horizontalSpan = 2;
fDeprecateDelegateCheckBox.setLayoutData(data);
fDeprecateDelegateCheckBox.setText(DelegateUIHelper.getDeprecateDelegateCheckBoxTitle());
fDeprecateDelegateCheckBox.setSelection(DelegateUIHelper.loadDeprecateDelegateSetting( [[#variable56efcc60]]));
 [[#variable56efcc60]].setDeprecateDelegates(fDeprecateDelegateCheckBox.getSelection());
fDeprecateDelegateCheckBox.addSelectionListener(new SelectionAdapter() {
                                                  public void widgetSelected(SelectionEvent e) {
                                                     [[#variable56efcc60]].setDeprecateDelegates(fDeprecateDelegateCheckBox.getSelection());
                                                  }
                                                } );
fDeprecateDelegateCheckBox.setEnabled(fLeaveDelegateCheckBox.getSelection());
fLeaveDelegateCheckBox.addSelectionListener(new SelectionAdapter() {
                                              public void widgetSelected(SelectionEvent e) {
                                                fDeprecateDelegateCheckBox.setEnabled(fLeaveDelegateCheckBox.getSelection());
                                              }
                                            } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56efcc60]]
getMoveProcessor() 
12[[#56efcc60]]
fProcessor