CloneSet1820


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13240.970statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113289
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.java
213132
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceParameterWizard.java
Clone Instance
1
Line Count
13
Source Line
289
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.java

                        ChangeParametersControl cp = new ChangeParametersControl(border, SWT.NONE, labelText, new IParameterListChangeListener() {
                                 public void parameterChanged(ParameterInfo parameter) {
                                         update(true);
                                 }

                                 public void parameterListChanged() {
                                         update(true);
                                 }

                                 public void parameterAdded(ParameterInfo parameter) {
                                         update(true);
                                 }
                                                                                                              }, ChangeParametersControl.Mode.CHANGE_METHOD_SIGNATURE, getChangeMethodSignatureRefactoring().getStubTypeContext());
                        cp.setLayoutData(new GridData(GridData.FILL_BOTH));
                        cp.setInput(getChangeMethodSignatureRefactoring().getParameterInfos());


Clone Instance
2
Line Count
13
Source Line
132
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceParameterWizard.java

                        ChangeParametersControl cp = new ChangeParametersControl(composite, SWT.NONE, labelText, new IParameterListChangeListener() {
                                 public void parameterChanged(ParameterInfo parameter) {
                                         update(true);
                                 }

                                 public void parameterListChanged() {
                                         update(true);
                                 }

                                 public void parameterAdded(ParameterInfo parameter) {
                                         update(true);
                                 }
                                                                                                                 }, ChangeParametersControl.Mode.INTRODUCE_PARAMETER, fParamNameProposals);
                        cp.setLayoutData(new GridData(GridData.FILL_BOTH));
                        cp.setInput(getIntroduceParameterRefactoring().getParameterInfos());


Clone AbstractionParameter Count: 4Parameter Bindings

ChangeParametersControl cp = new ChangeParametersControl( [[#variable63595ec0]], SWT.NONE, labelText, new IParameterListChangeListener() {
                                                                                                        public void parameterChanged(ParameterInfo parameter) {
                                                                                                          update(true);
                                                                                                        }

                                                                                                        public void parameterListChanged() {
                                                                                                          update(true);
                                                                                                        }

                                                                                                        public void parameterAdded(ParameterInfo parameter) {
                                                                                                          update(true);
                                                                                                        }
                                                                                                      }, ChangeParametersControl.Mode. [[#variablebcc67d00]],  [[#variablebcc67c80]]);
cp.setLayoutData(new GridData(GridData.FILL_BOTH));
cp.setInput( [[#variablebcc67ca0]]().getParameterInfos());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63595ec0]]
composite 
12[[#63595ec0]]
border 
21[[#bcc67d00]]
INTRODUCE_PARAMETER 
22[[#bcc67d00]]
CHANGE_METHOD_SIGNATURE 
31[[#bcc67c80]]
fParamNameProposals 
32[[#bcc67c80]]
getChangeMethodSignatureRefactoring().getStubTypeContext() 
41[[#bcc67ca0]]
getIntroduceParameterRefactoring 
42[[#bcc67ca0]]
getChangeMethodSignatureRefactoring