CloneSet2235


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7250.969statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17234
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java
27243
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java
Clone Instance
1
Line Count
7
Source Line
234
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java

                if (fDelete != null) {
                        DeleteArguments arguments = new DeleteArguments();
                        for (Iterator iter = fDelete.iterator(); iter.hasNext();) {
                                DeleteParticipant[] deletes = ParticipantManager.loadDeleteParticipants(status, 
                                         processor                                                      , iter.next(), 
                                         arguments                                                      , natures, shared);
                                result.addAll(Arrays.asList(deletes));
                        }
                }


Clone Instance
2
Line Count
7
Source Line
243
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java

                if (fCreate != null) {
                        CreateArguments arguments = new CreateArguments();
                        for (Iterator iter = fCreate.iterator(); iter.hasNext();) {
                                CreateParticipant[] creates = ParticipantManager.loadCreateParticipants(status, 
                                         processor                                                      , iter.next(), 
                                         arguments                                                      , natures, shared);
                                result.addAll(Arrays.asList(creates));
                        }
                }


Clone AbstractionParameter Count: 5Parameter Bindings

if ( [[#variable5715c6e0]]!= null) {
   [[#variable5715c660]] arguments = new [[#variable5715c660]]();
  for (Iterator iter = [[#variable5715c6e0]].iterator(); iter.hasNext();) {
     [[#variable5715c5a0]][]  [[#variable5715c520]]= ParticipantManager. [[#variable5715c4c0]](status, processor, iter.next(), arguments, natures, shared);
    result.addAll(Arrays.asList( [[#variable5715c520]]));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5715c6e0]]
fDelete 
12[[#5715c6e0]]
fCreate 
21[[#5715c660]]
DeleteArguments 
22[[#5715c660]]
CreateArguments 
31[[#5715c5a0]]
DeleteParticipant 
32[[#5715c5a0]]
CreateParticipant 
41[[#5715c520]]
deletes 
42[[#5715c520]]
creates 
51[[#5715c4c0]]
loadDeleteParticipants 
52[[#5715c4c0]]
loadCreateParticipants