Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 6 | 0.964 | switch_groups[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1076 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java |
2 | 6 | 278 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesFinder.java |
| ||||
case IBinding.TYPE: return ((ITypeBinding) binding).getTypeDeclaration(); case IBinding.VARIABLE: return ((IVariableBinding) binding).getVariableDeclaration(); case IBinding.METHOD: return ((IMethodBinding) binding).getMethodDeclaration(); |
| ||||
case IBinding.TYPE: return ((ITypeBinding) binding).getTypeDeclaration(); case IBinding.METHOD: return ((IMethodBinding) binding).getMethodDeclaration(); case IBinding.VARIABLE: return ((IVariableBinding) binding).getVariableDeclaration(); |
| |||
case IBinding.TYPE: return ((ITypeBinding) binding).getTypeDeclaration(); case IBinding. [[#variable5250bd40]]: return (( [[#variable5250bce0]]) binding). [[#variable5250bc40]](); case IBinding. [[#variable5250bbc0]]: return (( [[#variable5250bb20]]) binding). [[#variable5250bac0]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5250bd40]] | VARIABLE |
1 | 2 | [[#5250bd40]] | METHOD |
2 | 1 | [[#5250bce0]] | IVariableBinding |
2 | 2 | [[#5250bce0]] | IMethodBinding |
3 | 1 | [[#5250bc40]] | getVariableDeclaration |
3 | 2 | [[#5250bc40]] | getMethodDeclaration |
4 | 1 | [[#5250bbc0]] | METHOD |
4 | 2 | [[#5250bbc0]] | VARIABLE |
5 | 1 | [[#5250bb20]] | IMethodBinding |
5 | 2 | [[#5250bb20]] | IVariableBinding |
6 | 1 | [[#5250bac0]] | getMethodDeclaration |
6 | 2 | [[#5250bac0]] | getVariableDeclaration |