CloneSet2763


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.982statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14984
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java
24991
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java
Clone Instance
1
Line Count
4
Source Line
984
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java

                        if (this.addedImports != null) {
                                for (int i = 0; i < this.addedImports.size(); i++) {
                                        String curr = (String) this.addedImports.get(i);
                                        computer.addImport(curr.substring(1), STATIC_PREFIX == curr.charAt(0));
                                }
                        }


Clone Instance
2
Line Count
4
Source Line
991
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java

                        if (this.removedImports != null) {
                                for (int i = 0; i < this.removedImports.size(); i++) {
                                        String curr = (String) this.removedImports.get(i);
                                        computer.removeImport(curr.substring(1), STATIC_PREFIX == curr.charAt(0));
                                }
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if (this. [[#variableb50b5760]]!= null) {
  for (int i = 0; i < this. [[#variableb50b5760]].size(); i++) {
    String curr = (String) this. [[#variableb50b5760]].get(i);
    computer. [[#variableb50b5620]](curr.substring(1), STATIC_PREFIX == curr.charAt(0));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b50b5760]]
addedImports 
12[[#b50b5760]]
removedImports 
21[[#b50b5620]]
addImport 
22[[#b50b5620]]
removeImport