CloneSet1496


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17220.994switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117793
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
217836
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
Clone Instance
1
Line Count
17
Source Line
793
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java

                                                // if not valid fall through next case to report error
                                        case TerminalTokens.TokenNameEOF:
                                                if (this.reportProblems) this.sourceParser.problemReporter().javadocInvalidParamTypeParameter(start, end);
                                                if ( !isCompletionParser) {
                                                        this.scanner.currentPosition = start;
                                                        this.index = start;
                                                }
                                                this.currentTokenType = -1;
                                                this.scanner.tokenizeWhiteSpace = tokenWhiteSpace;
                                                return false;
                                        case TerminalTokens.TokenNameIdentifier:
                                                end = hasMultiLines ? this.lineEnd: this.scanner.getCurrentTokenEndPosition();
                                                if (valid) {
                                                        // store param name id
                                                        pushIdentifier(false, false);
                                                        break nextToken;
                                                }
                                                break;


Clone Instance
2
Line Count
17
Source Line
836
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java

                                                // if not valid fall through next case to report error
                                        case TerminalTokens.TokenNameEOF:
                                                if (this.reportProblems) this.sourceParser.problemReporter().javadocInvalidParamTypeParameter(start, end);
                                                if ( !isCompletionParser) {
                                                        this.scanner.currentPosition = start;
                                                        this.index = start;
                                                }
                                                this.currentTokenType = -1;
                                                this.scanner.tokenizeWhiteSpace = tokenWhiteSpace;
                                                return false;
                                        case TerminalTokens.TokenNameGREATER:
                                                end = hasMultiLines ? this.lineEnd: this.scanner.getCurrentTokenEndPosition();
                                                if (valid) {
                                                        // store '>' in identifiers stack as we need to add it to tag element (bug 79809)
                                                        pushIdentifier(false, true);
                                                        break nextToken;
                                                }
                                                break;


Clone AbstractionParameter Count: 2Parameter Bindings

// if not valid fall through next case to report error
case TerminalTokens.TokenNameEOF:
  if (this.reportProblems)
    this.sourceParser.problemReporter().javadocInvalidParamTypeParameter(start, end);
  if ( !isCompletionParser) {
    this.scanner.currentPosition = start;
    this.index = start;
  }
  this.currentTokenType = -1;
  this.scanner.tokenizeWhiteSpace = tokenWhiteSpace;
  return false;
case TerminalTokens. [[#variableb892afe0]]:
  end = hasMultiLines ? this.lineEnd: this.scanner.getCurrentTokenEndPosition();
  if (valid) {
    // store '>' in identifiers stack as we need to add it to tag element (bug 79809)
    // store param name id
    pushIdentifier(false,  [[#variableb892b000]]);
    break nextToken;
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b892afe0]]
TokenNameGREATER 
12[[#b892afe0]]
TokenNameIdentifier 
21[[#b892b000]]
true 
22[[#b892b000]]
false