Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.966 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 435 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
2 | 6 | 364 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java |
| ||||
TypeParameter parameter = null; for ( final Iterator iterator = declaration.typeParameters().iterator(); iterator.hasNext();) { parameter = (TypeParameter) iterator.next(); binding = parameter.resolveBinding(); if (binding != null) parameters.add(binding); } |
| ||||
TypeParameter parameter = null; for ( final Iterator iterator = declaration.typeParameters().iterator(); iterator.hasNext();) { parameter = (TypeParameter) iterator.next(); binding = parameter.resolveBinding(); if (binding != null) fBindings.add(binding.getKey()); } |
| |||
TypeParameter parameter = null; for ( final Iterator iterator = declaration.typeParameters().iterator(); iterator.hasNext();) { parameter = (TypeParameter) iterator.next(); binding = parameter.resolveBinding(); if (binding != null) [[#variable9e6e0fc0]].add( [[#variable9d9baf80]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9e6e0fc0]] | fBindings |
1 | 2 | [[#9e6e0fc0]] | parameters |
2 | 1 | [[#9d9baf80]] | binding.getKey() |
2 | 2 | [[#9d9baf80]] | binding |