CloneSet5570


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5250.961statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15549
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
25584
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
Clone Instance
1
Line Count
5
Source Line
549
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java

                param.setType((Type) rewriter.createCopyTarget(type));

                Block block = ast.newBlock();
                result.setBody(block);
                Assignment ass = ast.newAssignment();


Clone Instance
2
Line Count
5
Source Line
584
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java

                result.setReturnType2((Type) rewriter.createCopyTarget(type));

                Block block = ast.newBlock();
                result.setBody(block);
                ReturnStatement rs = ast.newReturnStatement();


Clone AbstractionParameter Count: 5Parameter Bindings

 [[#variable98f3eea0]]. [[#variable98f3e460]]((Type) rewriter.createCopyTarget(type));
Block block = ast.newBlock();
result.setBody(block);
 [[#variable98f3e2e0]]  [[#variable98f3e320]]= ast. [[#variable98f3ed80]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#98f3eea0]]
result 
12[[#98f3eea0]]
param 
21[[#98f3e460]]
setReturnType2 
22[[#98f3e460]]
setType 
31[[#98f3e2e0]]
ReturnStatement 
32[[#98f3e2e0]]
Assignment 
41[[#98f3e320]]
rs 
42[[#98f3e320]]
ass 
51[[#98f3ed80]]
newReturnStatement 
52[[#98f3ed80]]
newAssignment