Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.974 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 172 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java |
2 | 4 | 158 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java |
| ||||
proposal.addLinkedPosition(rewrite.track(newReturnType), true, key); ITypeBinding[] bindings = ASTResolving.getRelaxingTypes(ast, binding); for (int i = 0; i < bindings.length; i++) { proposal.addLinkedPositionProposal(key, bindings[i]); } |
| ||||
proposal.addLinkedPosition(rewrite.track(newReturnType), true, returnKey); ITypeBinding[] typeSuggestions = ASTResolving.getRelaxingTypes(ast, currBinding); for (int i = 0; i < typeSuggestions.length; i++) { proposal.addLinkedPositionProposal(returnKey, typeSuggestions[i]); } |
| |||
proposal.addLinkedPosition(rewrite.track(newReturnType), true, [[#variable584d4bc0]]); ITypeBinding[] [[#variable5b5581c0]]= ASTResolving.getRelaxingTypes(ast, [[#variable53fc92a0]]); for (int i = 0; i < [[#variable5b5581c0]].length; i++) { proposal.addLinkedPositionProposal( [[#variable584d4bc0]], [[#variable5b5581c0]][i]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#584d4bc0]] | returnKey |
1 | 2 | [[#584d4bc0]] | key |
2 | 1 | [[#5b5581c0]] | typeSuggestions |
2 | 2 | [[#5b5581c0]] | bindings |
3 | 1 | [[#53fc92a0]] | currBinding |
3 | 2 | [[#53fc92a0]] | binding |