Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 5 | 0.957 | statement_sequence[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 63 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/code/InlineMethodInputPage.java |
2 | 9 | 95 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/InlineConstantWizard.java |
| ||||
fInlineMode = new Group(result, SWT.NONE); fInlineMode.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); fInlineMode.setLayout(new GridLayout()); fInlineMode.setText(RefactoringMessages.InlineMethodInputPage_inline); Button radio = new Button(fInlineMode, SWT.RADIO); radio.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); radio.setText(RefactoringMessages.InlineMethodInputPage_all_invocations); radio.setSelection(all); |
| ||||
fInlineMode = new Group(result, SWT.NONE); fInlineMode.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); fInlineMode.setLayout(new GridLayout()); fInlineMode.setText(RefactoringMessages.InlineConstantInputPage_Inline); final Button all = new Button(fInlineMode, SWT.RADIO); all.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); all.setText(RefactoringMessages.InlineConstantInputPage_All_references); all.setSelection(fRefactoring.getReplaceAllReferences()); |
| |||
fInlineMode = new Group(result, SWT.NONE); fInlineMode.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); fInlineMode.setLayout(new GridLayout()); fInlineMode.setText(RefactoringMessages. [[#variable4cd1b0e0]]); [[#variable4c7a3a00]]Button [[#variable4cd1afc0]]= new Button(fInlineMode, SWT.RADIO); [[#variable4cd1afc0]].setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); [[#variable4cd1afc0]].setText(RefactoringMessages. [[#variableb302f380]]); [[#variable4cd1afc0]].setSelection( [[#variable4cd1b020]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4cd1b0e0]] | InlineConstantInputPage_Inline |
1 | 2 | [[#4cd1b0e0]] | InlineMethodInputPage_inline |
2 | 1 | [[#4c7a3a00]] | final |
2 | 2 | [[#4c7a3a00]] | |
3 | 1 | [[#4cd1afc0]] | all |
3 | 2 | [[#4cd1afc0]] | radio |
4 | 1 | [[#b302f380]] | InlineConstantInputPage_All_references |
4 | 2 | [[#b302f380]] | InlineMethodInputPage_all_invocations |
5 | 1 | [[#4cd1b020]] | fRefactoring.getReplaceAllReferences() |
5 | 2 | [[#4cd1b020]] | all |