Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.980 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 162 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java |
2 | 3 | 235 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java |
3 | 3 | 152 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java |
| ||||
ImportRewrite imports = proposal.createImportRewrite(astRoot); Type newReturnType = imports.addImport(binding, ast); |
| ||||
ImportRewrite imports = proposal.createImportRewrite(astRoot); Type type = imports.addImport(typeBinding, ast); |
| ||||
ImportRewrite imports = proposal.createImportRewrite(astRoot); Type newReturnType = imports.addImport(currBinding, ast); |
| |||
ImportRewrite imports = proposal.createImportRewrite(astRoot); Type [[#variableb61fb8c0]]= imports.addImport( [[#variableb61fb940]], ast); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b61fb8c0]] | type |
1 | 2 | [[#b61fb8c0]] | newReturnType |
1 | 3 | [[#b61fb8c0]] | newReturnType |
2 | 1 | [[#b61fb940]] | typeBinding |
2 | 2 | [[#b61fb940]] | currBinding |
2 | 3 | [[#b61fb940]] | binding |