CloneSet1612


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

                if (fMove != null) {
                        for (int i = 0; i < fMove.size(); i++) {
                                Object element = fMove.get(i);
                                MoveArguments arguments = (MoveArguments) fMoveArguments.get(i);
                                MoveParticipant[] moves = ParticipantManager.loadMoveParticipants(status, 
                                         processor                                                , element, 
                                         arguments                                                , natures, shared);
                                result.addAll(Arrays.asList(moves));
                        }
                }


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

                if (fCopy != null) {
                        for (int i = 0; i < fCopy.size(); i++) {
                                Object element = fCopy.get(i);
                                CopyArguments arguments = (CopyArguments) fCopyArguments.get(i);
                                CopyParticipant[] copies = ParticipantManager.loadCopyParticipants(status, 
                                         processor                                                 , element, 
                                         arguments                                                 , natures, shared);
                                result.addAll(Arrays.asList(copies));
                        }
                }


Clone AbstractionParameter Count: 6Parameter Bindings

if ( [[#variable9be0be80]]!= null) {
  for (int i = 0; i <  [[#variable9be0be80]].size(); i++) {
    Object element = [[#variable9be0be80]].get(i);
     [[#variable9be0bdc0]] arguments = ( [[#variable9be0bdc0]])  [[#variable9be0bd40]].get(i);
     [[#variable9be0a1c0]][]  [[#variable59732b80]]= ParticipantManager. [[#variable9be0bd20]](status, processor, element, arguments, natures, shared);
    result.addAll(Arrays.asList( [[#variable59732b80]]));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9be0be80]]
fMove 
12[[#9be0be80]]
fCopy 
21[[#9be0bdc0]]
MoveArguments 
22[[#9be0bdc0]]
CopyArguments 
31[[#9be0bd40]]
fMoveArguments 
32[[#9be0bd40]]
fCopyArguments 
41[[#9be0a1c0]]
MoveParticipant 
42[[#9be0a1c0]]
CopyParticipant 
51[[#59732b80]]
moves 
52[[#59732b80]]
copies 
61[[#9be0bd20]]
loadMoveParticipants 
62[[#9be0bd20]]
loadCopyParticipants