CloneSet4872


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.959statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151259
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
251386
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
Clone Instance
1
Line Count
5
Source Line
1259
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java

                        if (name == null)
                                nameQuery = copyQueries.createNullQuery();
                        else
                                nameQuery = copyQueries.createNewResourceNameQuery(resource, name);
                        return new CopyResourceChange(resource, destination, nameQuery);


Clone Instance
2
Line Count
5
Source Line
1386
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java

                                if (newName == null)
                                        nameQuery = copyQueries.createNullQuery();
                                else
                                        nameQuery = copyQueries.createNewPackageNameQuery(pack, newName);
                                return new CopyPackageChange(pack, destination, nameQuery);


Clone AbstractionParameter Count: 4Parameter Bindings

if ( [[#variablea2a94080]]== null)
  nameQuery = copyQueries.createNullQuery();
else
  nameQuery = copyQueries. [[#variable78086a60]]( [[#variablea2a94340]],  [[#variablea2a94080]]);
return new [[#variablea2a94040]]( [[#variablea2a94340]], destination, nameQuery);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a2a94080]]
newName 
12[[#a2a94080]]
name 
21[[#78086a60]]
createNewPackageNameQuery 
22[[#78086a60]]
createNewResourceNameQuery 
31[[#a2a94340]]
pack 
32[[#a2a94340]]
resource 
41[[#a2a94040]]
CopyPackageChange 
42[[#a2a94040]]
CopyResourceChange