CloneSet3324


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.969statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13107
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyElementsOperation.java
23112
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyElementsOperation.java
Clone Instance
1
Line Count
3
Source Line
107
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyElementsOperation.java

                                        String source = getSourceFor(element);
                                        String lineSeparator = org.eclipse.jdt.internal.core.util.Util.getLineSeparator(source, element.getJavaProject());
                                        return new CreateTypeOperation(dest, source + lineSeparator, this.force);


Clone Instance
2
Line Count
3
Source Line
112
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyElementsOperation.java

                                String source = getSourceFor(element);
                                String lineSeparator = org.eclipse.jdt.internal.core.util.Util.getLineSeparator(source, element.getJavaProject());
                                return new CreateMethodOperation((IType) dest, source + lineSeparator, this.force);


Clone AbstractionParameter Count: 2Parameter Bindings

String source = getSourceFor(element);
String lineSeparator = org.eclipse.jdt.internal.core.util.Util.getLineSeparator(source, element.getJavaProject());
return new [[#variable58a22ae0]]( [[#variable58a22bc0]], source + lineSeparator, this.force);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58a22ae0]]
CreateTypeOperation 
12[[#58a22ae0]]
CreateMethodOperation 
21[[#58a22bc0]]
dest 
22[[#58a22bc0]]
(IType) dest