CloneSet5746


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.968switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19744
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
29780
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
Clone Instance
1
Line Count
9
Source Line
744
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                                                case TerminalTokens.TokenNameLESS:
                                                        argCount++;
                                                        if (parameterType == null) return null; // invalid syntax
                                                        // fall through next case to add token
                                                default: // all other tokens are considered identifiers (see bug 21763 Problem in Java search [search])
                                                        if (parameterType == null)
                                                                parameterType = scanner.getCurrentTokenString();
                                                        else
                                                                parameterType += scanner.getCurrentTokenString();


Clone Instance
2
Line Count
9
Source Line
780
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                                                case TerminalTokens.TokenNameLESS:
                                                        argCount++;
                                                        if (returnType == null) return null; // invalid syntax
                                                        // fall through next case to add token
                                                default: // all other tokens are considered identifiers (see bug 21763 Problem in Java search [search])
                                                        if (returnType == null)
                                                                returnType = scanner.getCurrentTokenString();
                                                        else
                                                                returnType += scanner.getCurrentTokenString();


Clone AbstractionParameter Count: 1Parameter Bindings

case TerminalTokens.TokenNameLESS:
  argCount++;
  if ( [[#variable96128580]]== null)
    return null; // invalid syntax
// fall through next case to add token
default: // all other tokens are considered identifiers (see bug 21763 Problem in Java search [search])
  if ( [[#variable96128580]]== null)
     [[#variable96128580]]= scanner.getCurrentTokenString();
  else
     [[#variable96128580]]+= scanner.getCurrentTokenString();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#96128580]]
parameterType 
12[[#96128580]]
returnType