Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.988 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 441 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java |
2 | 8 | 451 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java |
| ||||
{ final Name qualifier = (Name) expression; final IBinding result = qualifier.resolveBinding(); if (result != null && result.equals(fIterator)) { if ( !binding.getName().equals("next") && !binding.getName().equals("nextElement")) { //$NON-NLS-1$ //$NON-NLS-2$ otherInvocationThenNext[0] = true; } else { nextInvocationCount[0]++; } } } |
| ||||
{ final FieldAccess qualifier = (FieldAccess) expression; final IBinding result = qualifier.resolveFieldBinding(); if (result != null && result.equals(fIterator)) { if ( !binding.getName().equals("next") && !binding.getName().equals("nextElement")) { //$NON-NLS-1$ //$NON-NLS-2$ otherInvocationThenNext[0] = true; } else { nextInvocationCount[0]++; } } } |
| |||
{ final [[#variablea055ad60]] qualifier = ( [[#variablea055ad60]]) expression; final IBinding result = qualifier. [[#variablea055ae40]](); if (result != null && result.equals(fIterator)) { if ( !binding.getName().equals("next") && !binding.getName().equals("nextElement")) { //$NON-NLS-1$ //$NON-NLS-2$ otherInvocationThenNext[0] = true; } else { nextInvocationCount[0]++; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a055ad60]] | FieldAccess |
1 | 2 | [[#a055ad60]] | Name |
2 | 1 | [[#a055ae40]] | resolveFieldBinding |
2 | 2 | [[#a055ae40]] | resolveBinding |