Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 0 | 1.000 | statement_sequence[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 548 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java |
2 | 21 | 599 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java |
| ||||
assistNode = reference; this.lastCheckPoint = reference.sourceEnd + 1; pushOnAstStack(reference); if (currentToken == TokenNameSEMICOLON) { reference.declarationSourceEnd = scanner.currentPosition - 1; } else { reference.declarationSourceEnd = (int) positions[length - 1]; } //endPosition is just before the ; reference.declarationSourceStart = intStack[intPtr-- ]; // flush annotations defined prior to import statements reference.declarationSourceEnd = this.flushCommentsDefinedPriorTo(reference.declarationSourceEnd); // recovery if (currentElement != null) { lastCheckPoint = reference.declarationSourceEnd + 1; currentElement = currentElement.add(reference, 0); lastIgnoredToken = -1; restartRecovery = true; // used to avoid branching back into the regular automaton } |
| ||||
assistNode = reference; this.lastCheckPoint = reference.sourceEnd + 1; pushOnAstStack(reference); if (currentToken == TokenNameSEMICOLON) { reference.declarationSourceEnd = scanner.currentPosition - 1; } else { reference.declarationSourceEnd = (int) positions[length - 1]; } //endPosition is just before the ; reference.declarationSourceStart = intStack[intPtr-- ]; // flush comments defined prior to import statements reference.declarationSourceEnd = this.flushCommentsDefinedPriorTo(reference.declarationSourceEnd); // recovery if (currentElement != null) { lastCheckPoint = reference.declarationSourceEnd + 1; currentElement = currentElement.add(reference, 0); lastIgnoredToken = -1; restartRecovery = true; // used to avoid branching back into the regular automaton } |
| |||
assistNode = reference; this.lastCheckPoint = reference.sourceEnd + 1; pushOnAstStack(reference); if (currentToken == TokenNameSEMICOLON) { reference.declarationSourceEnd = scanner.currentPosition - 1; } else { reference.declarationSourceEnd = (int) positions[length - 1]; } //endPosition is just before the ; reference.declarationSourceStart = intStack[intPtr-- ]; // flush comments defined prior to import statements // flush annotations defined prior to import statements reference.declarationSourceEnd = this.flushCommentsDefinedPriorTo(reference.declarationSourceEnd); // recovery if (currentElement != null) { lastCheckPoint = reference.declarationSourceEnd + 1; currentElement = currentElement.add(reference, 0); lastIgnoredToken = -1; restartRecovery = true; // used to avoid branching back into the regular automaton } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |