Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.959 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 340 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java |
2 | 3 | 291 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/UseSupertypeWizard.java |
| ||||
private ITypeBinding getSelectedType() { IStructuredSelection ss = (IStructuredSelection) fTreeViewer.getSelection(); return (ITypeBinding) ss.getFirstElement(); } |
| ||||
private IType getSelectedSupertype() { IStructuredSelection ss = (IStructuredSelection) fTreeViewer.getSelection(); return (IType) ss.getFirstElement(); } |
| |||
private [[#variablebb654040]] [[#variableb9c67fe0]]() { IStructuredSelection ss = (IStructuredSelection) fTreeViewer.getSelection(); return ( [[#variablebb654040]]) ss.getFirstElement(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bb654040]] | IType |
1 | 2 | [[#bb654040]] | ITypeBinding |
2 | 1 | [[#b9c67fe0]] | getSelectedSupertype |
2 | 2 | [[#b9c67fe0]] | getSelectedType |