CloneSet1713


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16260.961statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1161009
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java
2161096
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java
Clone Instance
1
Line Count
16
Source Line
1009
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java

                                // find the element type of the moved from element
                                RootInfo movedFromInfo = this.enclosingRootInfo(movedFromPath, IResourceDelta.REMOVED);
                                int movedFromType =
                                        this.elementType(
                                                movedFromRes, 
                                                IResourceDelta.REMOVED, 
                                                element.getParent().getElementType(), 
                                                movedFromInfo);

                                // reset current element as it might be inside a nested root (popUntilPrefixOf() may use the outer root)
                                this.currentElement = null;

                                // create the moved from element
                                Openable movedFromElement =
                                        elementType != IJavaElement.JAVA_PROJECT && movedFromType == IJavaElement.JAVA_PROJECT ?
                                                null:  // outside classpath
                                                this.createElement(movedFromRes, movedFromType, movedFromInfo);


Clone Instance
2
Line Count
16
Source Line
1096
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java

                        // find the element type of the moved from element
                        RootInfo movedToInfo = this.enclosingRootInfo(movedToPath, IResourceDelta.ADDED);
                        int movedToType =
                                this.elementType(
                                        movedToRes, 
                                        IResourceDelta.ADDED, 
                                        element.getParent().getElementType(), 
                                        movedToInfo);

                        // reset current element as it might be inside a nested root (popUntilPrefixOf() may use the outer root)
                        this.currentElement = null;

                        // create the moved To element
                        Openable movedToElement =
                                elementType != IJavaElement.JAVA_PROJECT && movedToType == IJavaElement.JAVA_PROJECT ?
                                        null:  // outside classpath
                                        this.createElement(movedToRes, movedToType, movedToInfo);


Clone AbstractionParameter Count: 6Parameter Bindings

// find the element type of the moved from element
RootInfo  [[#variable78a77ee0]]= this.enclosingRootInfo( [[#variable78a77e40]], IResourceDelta. [[#variable77af6fc0]]);
int  [[#variable78a77e00]]= this.elementType( [[#variable78a76e80]], IResourceDelta. [[#variable77af6fc0]], element.getParent().getElementType(),  [[#variable78a77ee0]]);
// reset current element as it might be inside a nested root (popUntilPrefixOf() may use the outer root)
this.currentElement = null;
// create the moved from element
// create the moved To element
Openable  [[#variable78a77d20]]= elementType != IJavaElement.JAVA_PROJECT && [[#variable78a77e00]]== IJavaElement.JAVA_PROJECT ? null: // outside classpath
                                 this.createElement( [[#variable78a76e80]],  [[#variable78a77e00]],  [[#variable78a77ee0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#78a77ee0]]
movedFromInfo 
12[[#78a77ee0]]
movedToInfo 
21[[#78a77e40]]
movedFromPath 
22[[#78a77e40]]
movedToPath 
31[[#77af6fc0]]
REMOVED 
32[[#77af6fc0]]
ADDED 
41[[#78a77e00]]
movedFromType 
42[[#78a77e00]]
movedToType 
51[[#78a76e80]]
movedFromRes 
52[[#78a76e80]]
movedToRes 
61[[#78a77d20]]
movedFromElement 
62[[#78a77d20]]
movedToElement