Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 5 | 0.958 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 188 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInstanceMethodWizard.java |
2 | 10 | 210 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInstanceMethodWizard.java |
| ||||
fMethodNameField.addModifyListener(new ModifyListener() { public final void modifyText( final ModifyEvent event) { fMethodNameStatus = fProcessor.setMethodName(fMethodNameField.getText()); handleStatusChanged(); } } ); TextFieldNavigationHandler.install(fMethodNameField); fTargetNameLabel = new Label(control, SWT.SINGLE); |
| ||||
fTargetNameField.addModifyListener(new ModifyListener() { public final void modifyText( final ModifyEvent event) { fTargetNameStatus = fProcessor.setTargetName(fTargetNameField.getText()); handleStatusChanged(); } } ); TextFieldNavigationHandler.install(fTargetNameField); label = new Label(control, SWT.NONE); |
| |||
[[#variableb113d9a0]].addModifyListener(new ModifyListener() { public final void modifyText( final ModifyEvent event) { [[#variableb113d9e0]]= fProcessor. [[#variableb113d800]]( [[#variableb113d9a0]].getText()); handleStatusChanged(); } } ); TextFieldNavigationHandler.install( [[#variableb113d9a0]]); [[#variableb113d8c0]]= new Label(control, SWT. [[#variableb113d8e0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b113d9a0]] | fTargetNameField |
1 | 2 | [[#b113d9a0]] | fMethodNameField |
2 | 1 | [[#b113d9e0]] | fTargetNameStatus |
2 | 2 | [[#b113d9e0]] | fMethodNameStatus |
3 | 1 | [[#b113d800]] | setTargetName |
3 | 2 | [[#b113d800]] | setMethodName |
4 | 1 | [[#b113d8c0]] | label |
4 | 2 | [[#b113d8c0]] | fTargetNameLabel |
5 | 1 | [[#b113d8e0]] | NONE |
5 | 2 | [[#b113d8e0]] | SINGLE |