CloneSet4525


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7320.961switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17410
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
26153
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java
36167
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java
Clone Instance
1
Line Count
7
Source Line
410
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                                        case Binding.GENERIC_TYPE:  // for (T t : Iterable<T>) - in case used inside Iterable itself
                                                arguments = iterableType.typeVariables();
                                                break;

                                        case Binding.PARAMETERIZED_TYPE:  // for(E e : Iterable<E>)
                                                arguments = ((ParameterizedTypeBinding) iterableType).arguments;
                                                break;


Clone Instance
2
Line Count
6
Source Line
153
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java

                case Binding.GENERIC_TYPE:
                        formalArguments = formalEquivalent.typeVariables();
                        break;
                case Binding.PARAMETERIZED_TYPE:
                        formalArguments = ((ParameterizedTypeBinding) formalEquivalent).arguments;
                        break;


Clone Instance
3
Line Count
6
Source Line
167
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java

                case Binding.GENERIC_TYPE:
                        actualArguments = actualEquivalent.typeVariables();
                        break;
                case Binding.PARAMETERIZED_TYPE:
                        actualArguments = ((ParameterizedTypeBinding) actualEquivalent).arguments;
                        break;


Clone AbstractionParameter Count: 2Parameter Bindings

case Binding.GENERIC_TYPE: // for (T t : Iterable<T>) - in case used inside Iterable itself
   [[#variablea5cc6740]]= [[#variablea5cc66a0]].typeVariables();
  break;
case Binding.PARAMETERIZED_TYPE: // for(E e : Iterable<E>)
   [[#variablea5cc6740]]= ((ParameterizedTypeBinding)  [[#variablea5cc66a0]]).arguments;
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a5cc6740]]
arguments 
12[[#a5cc6740]]
actualArguments 
13[[#a5cc6740]]
formalArguments 
21[[#a5cc66a0]]
iterableType 
22[[#a5cc66a0]]
actualEquivalent 
23[[#a5cc66a0]]
formalEquivalent