Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 2 | 0.994 | switch_groups[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 793 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java |
2 | 17 | 836 | 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; |
| ||||
// 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; |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b892afe0]] | TokenNameGREATER |
1 | 2 | [[#b892afe0]] | TokenNameIdentifier |
2 | 1 | [[#b892b000]] | true |
2 | 2 | [[#b892b000]] | false |