CloneSet5636


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.976statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13293
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchRefactoring.java
23494
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java
Clone Instance
1
Line Count
3
Source Line
293
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchRefactoring.java

                                                        Assignment assignment = ast.newAssignment();
                                                        assignment.setLeftHandSide((Expression) fRewriter.createCopyTarget(fragment.getName()));
                                                        assignment.setRightHandSide((Expression) fRewriter.createCopyTarget(initializer));


Clone Instance
2
Line Count
3
Source Line
494
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java

                        Assignment assignment = ast.newAssignment();
                        assignment.setLeftHandSide((Expression) rewrite.createCopyTarget(fragment.getName()));
                        assignment.setRightHandSide((Expression) rewrite.createMoveTarget(initializer));


Clone AbstractionParameter Count: 2Parameter Bindings

Assignment assignment = ast.newAssignment();
assignment.setLeftHandSide((Expression)  [[#variable95e746c0]].createCopyTarget(fragment.getName()));
assignment.setRightHandSide((Expression)  [[#variable95e746c0]]. [[#variable95e74660]](initializer));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95e746c0]]
rewrite 
12[[#95e746c0]]
fRewriter 
21[[#95e74660]]
createMoveTarget 
22[[#95e74660]]
createCopyTarget