CloneSet6351


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.965statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13580
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java
23584
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java
Clone Instance
1
Line Count
3
Source Line
580
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java

                int indexFirst = listEvent.getIndex(first, ListRewriteEvent.OLD);
                if (indexFirst == -1) {
                        throw new IllegalArgumentException("Start node is not a original child of the given list"); //$NON-NLS-1$
                }


Clone Instance
2
Line Count
3
Source Line
584
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/RewriteEventStore.java

                int indexLast = listEvent.getIndex(last, ListRewriteEvent.OLD);
                if (indexLast == -1) {
                        throw new IllegalArgumentException("End node is not a original child of the given list"); //$NON-NLS-1$
                }


Clone AbstractionParameter Count: 3Parameter Bindings

int  [[#variable6009a040]]= listEvent.getIndex( [[#variable5fee70a0]], ListRewriteEvent.OLD);
if ( [[#variable6009a040]]== -1) {
  throw new IllegalArgumentException( [[#variable5fed7460]]); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6009a040]]
indexLast 
12[[#6009a040]]
indexFirst 
21[[#5fee70a0]]
last 
22[[#5fee70a0]]
first 
31[[#5fed7460]]
"End node is not a original child of the given list" 
32[[#5fed7460]]
"Start node is not a original child of the given list"