CloneSet3653


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.995statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13440
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java
23454
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java
Clone Instance
1
Line Count
3
Source Line
440
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java

                                String s = importer.addImport(binding);
                                if ( !ASTNodes.asString(element).equals(s)) {
                                        rewriter.replace(element, rewriter.createStringPlaceholder(s, ASTNode.SIMPLE_NAME), null);
                                }


Clone Instance
2
Line Count
3
Source Line
454
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java

                                String s = importer.addStaticImport(binding);
                                if ( !ASTNodes.asString(element).equals(s)) {
                                        rewriter.replace(element, rewriter.createStringPlaceholder(s, ASTNode.SIMPLE_NAME), null);
                                }


Clone AbstractionParameter Count: 1Parameter Bindings

String s = importer. [[#variable9d989840]](binding);
if ( !ASTNodes.asString(element).equals(s)) {
  rewriter.replace(element, rewriter.createStringPlaceholder(s, ASTNode.SIMPLE_NAME), null);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d989840]]
addImport 
12[[#9d989840]]
addStaticImport