Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 4 | 0.970 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 289 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.java |
2 | 13 | 132 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceParameterWizard.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()); |
| ||||
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()); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#63595ec0]] | composite |
1 | 2 | [[#63595ec0]] | border |
2 | 1 | [[#bcc67d00]] | INTRODUCE_PARAMETER |
2 | 2 | [[#bcc67d00]] | CHANGE_METHOD_SIGNATURE |
3 | 1 | [[#bcc67c80]] | fParamNameProposals |
3 | 2 | [[#bcc67c80]] | getChangeMethodSignatureRefactoring().getStubTypeContext() |
4 | 1 | [[#bcc67ca0]] | getIntroduceParameterRefactoring |
4 | 2 | [[#bcc67ca0]] | getChangeMethodSignatureRefactoring |