CloneSet5045


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.972statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13454
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
23470
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
Clone Instance
1
Line Count
3
Source Line
454
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                                        // allocate #index secret variable (of type int)
                                        this.indexVariable = new LocalVariableBinding(SecretIndexVariableName, TypeBinding.INT, ClassFileConstants.AccDefault, false);
                                        scope.addLocalVariable(this.indexVariable);
                                        this.indexVariable.setConstant(Constant.NotAConstant); // not inlinable


Clone Instance
2
Line Count
3
Source Line
470
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                                        // allocate #index secret variable (of type Iterator)
                                        this.indexVariable = new LocalVariableBinding(SecretIndexVariableName, scope.getJavaUtilIterator(), ClassFileConstants.AccDefault, false);
                                        scope.addLocalVariable(this.indexVariable);
                                        this.indexVariable.setConstant(Constant.NotAConstant); // not inlinable


Clone AbstractionParameter Count: 2Parameter Bindings

// allocate #index secret variable (of type Iterator)
// allocate #index secret variable (of type int)
this.indexVariable = new LocalVariableBinding(SecretIndexVariableName,  [[#variable95ea24c0]] [[#variable95ea2400]], ClassFileConstants.AccDefault, false);
scope.addLocalVariable(this.indexVariable);
this.indexVariable.setConstant(Constant.NotAConstant); // not inlinable
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95ea24c0]]
scope 
12[[#95ea24c0]]
TypeBinding 
21[[#95ea2400]]
.getJavaUtilIterator() 
22[[#95ea2400]]
.INT