CloneSet2037


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.989statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
192304
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
293948
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
9
Source Line
2304
Source File
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();


Clone Instance
2
Line Count
9
Source Line
3948
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                        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();


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9af433c0]]
method 
12[[#9af433c0]]
constructor