CloneSet2315


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.988statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17371
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java
26406
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java
Clone Instance
1
Line Count
7
Source Line
371
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java

                                String type = imports.addImport(desc.type);
                                ASTNode newNode = ASTNodeFactory.newName(ast, type);

                                listRewrite.insertAt(newNode, i, null);

                                String key = getExceptionTypeGroupId(i);
                                addLinkedPosition(rewrite.track(newNode), false, key);


Clone Instance
2
Line Count
6
Source Line
406
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java

                                String type = imports.addImport(desc.type);
                                ASTNode newNode = ASTNodeFactory.newName(ast, type);

                                listRewrite.replace(oldNode, newNode, null);
                                String key = getExceptionTypeGroupId(i);
                                addLinkedPosition(rewrite.track(newNode), false, key);


Clone AbstractionParameter Count: 3Parameter Bindings

String type = imports.addImport(desc.type);
ASTNode newNode = ASTNodeFactory.newName(ast, type);
listRewrite. [[#variable97a90ee0]]( [[#variable97a915a0]],  [[#variable97a90ec0]], null);
String key = getExceptionTypeGroupId(i);
addLinkedPosition(rewrite.track(newNode), false, key);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97a90ee0]]
insertAt 
12[[#97a90ee0]]
replace 
21[[#97a915a0]]
newNode 
22[[#97a915a0]]
oldNode 
31[[#97a90ec0]]
i 
32[[#97a90ec0]]
newNode