Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 0 | 1.000 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 434 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java |
2 | 17 | 493 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java |
| ||||
this.lastCheckPoint = reference.sourceEnd + 1; compilationUnit.currentPackage = 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; restartRecovery = true; // used to avoid branching back into the regular automaton } |
| ||||
this.lastCheckPoint = reference.sourceEnd + 1; compilationUnit.currentPackage = 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; restartRecovery = true; // used to avoid branching back into the regular automaton } |
| |||
this.lastCheckPoint = reference.sourceEnd + 1; compilationUnit.currentPackage = 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; restartRecovery = true; // used to avoid branching back into the regular automaton } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |