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.976 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 106 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java |
2 | 3 | 109 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java |
| ||||
{ receiverNode = ((MemberValuePair) selectedNode.getParent()).getName(); castTypeBinding = ASTResolving.guessBindingForReference(nodeToCast); } |
| ||||
{ receiverNode = ((SingleMemberAnnotation) selectedNode.getParent()).getTypeName(); // use the type name castTypeBinding = ASTResolving.guessBindingForReference(nodeToCast); } |
| |||
{ receiverNode = (( [[#variableb312c6e0]]) selectedNode.getParent()). [[#variableb312c5a0]](); // use the type name castTypeBinding = ASTResolving.guessBindingForReference(nodeToCast); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b312c6e0]] | MemberValuePair |
1 | 2 | [[#b312c6e0]] | SingleMemberAnnotation |
2 | 1 | [[#b312c5a0]] | getName |
2 | 2 | [[#b312c5a0]] | getTypeName |