CloneSet3049


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.986executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19101
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InternalASTRewrite.java
29111
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InternalASTRewrite.java
Clone Instance
1
Line Count
9
Source Line
101
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InternalASTRewrite.java

                                                 {
                                PropertyLocation propertyLocation = this.eventStore.getPropertyLocation(source, RewriteEventStore.ORIGINAL);
                                CopySourceInfo sourceInfo =
                                        this.eventStore.markAsCopySource(
                                                propertyLocation.getParent(), 
                                                propertyLocation.getProperty(), 
                                                source, 
                                                false                   );
                                this.nodeStore.markAsCopyTarget(newChild, sourceInfo);
                                                 }


Clone Instance
2
Line Count
9
Source Line
111
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InternalASTRewrite.java

                                                                         {
                        PropertyLocation propertyLocation = this.eventStore.getPropertyLocation(newChild, RewriteEventStore.ORIGINAL);
                        CopySourceInfo sourceInfo =
                                this.eventStore.markAsCopySource(
                                        propertyLocation.getParent(), 
                                        propertyLocation.getProperty(), 
                                        newChild, 
                                        true                    );
                        this.nodeStore.markAsCopyTarget(newChild, sourceInfo);
                                                                         }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  PropertyLocation propertyLocation = this.eventStore.getPropertyLocation( [[#variableba448d80]], RewriteEventStore.ORIGINAL);
  CopySourceInfo sourceInfo = this.eventStore.markAsCopySource(propertyLocation.getParent(), propertyLocation.getProperty(),  [[#variableba448d80]],  [[#variableba4485a0]]);
  this.nodeStore.markAsCopyTarget(newChild, sourceInfo);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba448d80]]
source 
12[[#ba448d80]]
newChild 
21[[#ba4485a0]]
false 
22[[#ba4485a0]]
true