CloneSet5091


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.950statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1396
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewDefiningMethodProposal.java
23128
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java
Clone Instance
1
Line Count
3
Source Line
96
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewDefiningMethodProposal.java

                AST ast = rewrite.getAST();
                SimpleName nameNode = ast.newSimpleName(fMethod.getName());
                addLinkedPosition(rewrite.track(nameNode), false, KEY_NAME);


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

                AST ast = rewrite.getAST();
                SimpleName newNameNode = ast.newSimpleName(name);
                addLinkedPosition(rewrite.track(newNameNode), false, KEY_NAME);


Clone AbstractionParameter Count: 2Parameter Bindings

AST ast = rewrite.getAST();
SimpleName  [[#variableb1612b20]]= ast.newSimpleName( [[#variableb1612e80]]);
addLinkedPosition(rewrite.track( [[#variableb1612b20]]), false, KEY_NAME);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1612b20]]
newNameNode 
12[[#b1612b20]]
nameNode 
21[[#b1612e80]]
name 
22[[#b1612e80]]
fMethod.getName()