CloneSet1664


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.991statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
186739
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
286750
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
8
Source Line
6739
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                        for (int i = 0;  i < excludedNames.length;  i++) {
                                if (excludedNames[i].length == 1 && ScannerHelper.toLowerCase(excludedNames[i][0]) == ScannerHelper.toLowerCase(name)) {
                                        name++;
                                        if (name > endChar)
                                                name = startChar;
                                        if (name == firstName)
                                                return substituteMethodTypeParameterName(new char[] {
                                                                                                     firstName
                                                                                                    },          excludedNames, otherParameterNames);
                                        continue next;
                                }
                        }


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

                        for (int i = 0; i < otherParameterNames.length; i++) {
                                if (otherParameterNames[i].length == 1 && ScannerHelper.toLowerCase(otherParameterNames[i][0]) == ScannerHelper.toLowerCase(name)) {
                                        name++;
                                        if (name > endChar)
                                                name = startChar;
                                        if (name == firstName)
                                                return substituteMethodTypeParameterName(new char[] {
                                                                                                     firstName
                                                                                                    },          excludedNames, otherParameterNames);
                                        continue next;
                                }
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

for (int i = 0; i <  [[#variable9ce645a0]].length; i++) {
  if ( [[#variable9ce645a0]][i].length == 1 && ScannerHelper.toLowerCase( [[#variable9ce645a0]][i][0]) == ScannerHelper.toLowerCase(name)) {
    name++;
    if (name > endChar)
      name = startChar;
    if (name == firstName)
      return substituteMethodTypeParameterName(new char[] {
                                                            firstName
                                                          }, excludedNames, otherParameterNames);
    continue next;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9ce645a0]]
otherParameterNames 
12[[#9ce645a0]]
excludedNames