Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.989 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 2304 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 9 | 3948 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
if (constructor.parameters != null) { for (int p = 0,ln = constructor.parameters.length; p < ln; p++) { if (p > 0) javadocCompletion.append(", "); //$NON-NLS-1$ TypeBinding argTypeBinding = constructor.parameters[p]; createType(argTypeBinding.erasure(), javadocCompletion); } } javadocCompletion.append(')'); completion = javadocCompletion.toString().toCharArray(); |
| ||||
if (method.parameters != null) { for (int p = 0,ln = method.parameters.length; p < ln; p++) { if (p > 0) javadocCompletion.append(", "); //$NON-NLS-1$ TypeBinding argTypeBinding = method.parameters[p]; createType(argTypeBinding.erasure(), javadocCompletion); } } javadocCompletion.append(')'); completion = javadocCompletion.toString().toCharArray(); |
| |||
if ( [[#variable9af433c0]].parameters != null) { for (int p = 0, ln = [[#variable9af433c0]].parameters.length; p < ln; p++) { if (p > 0) javadocCompletion.append(", "); //$NON-NLS-1$ TypeBinding argTypeBinding = [[#variable9af433c0]].parameters[p]; createType(argTypeBinding.erasure(), javadocCompletion); } } javadocCompletion.append(')'); completion = javadocCompletion.toString().toCharArray(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9af433c0]] | method |
1 | 2 | [[#9af433c0]] | constructor |