Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 2 | 0.961 | switch_groups[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 410 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java |
2 | 6 | 153 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java |
3 | 6 | 167 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.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; |
| ||||
case Binding.GENERIC_TYPE: formalArguments = formalEquivalent.typeVariables(); break; case Binding.PARAMETERIZED_TYPE: formalArguments = ((ParameterizedTypeBinding) formalEquivalent).arguments; break; |
| ||||
case Binding.GENERIC_TYPE: actualArguments = actualEquivalent.typeVariables(); break; case Binding.PARAMETERIZED_TYPE: actualArguments = ((ParameterizedTypeBinding) actualEquivalent).arguments; break; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a5cc6740]] | arguments |
1 | 2 | [[#a5cc6740]] | actualArguments |
1 | 3 | [[#a5cc6740]] | formalArguments |
2 | 1 | [[#a5cc66a0]] | iterableType |
2 | 2 | [[#a5cc66a0]] | actualEquivalent |
2 | 3 | [[#a5cc66a0]] | formalEquivalent |