| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 1 | 0.992 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 2601 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 2 | 5 | 2690 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| ||||
protected void consumeEmptyClassMemberDeclaration() {
// ClassMemberDeclaration ::= ';'
pushOnAstLengthStack(0);
if ( !this.statementRecoveryActivated)
problemReporter().superfluousSemicolon(this.endPosition + 1, this.endStatementPosition);
flushCommentsDefinedPriorTo(this.endStatementPosition);
}
|
| ||||
protected void consumeEmptyTypeDeclaration() {
// TypeDeclaration ::= ';'
pushOnAstLengthStack(0);
if ( !this.statementRecoveryActivated)
problemReporter().superfluousSemicolon(this.endPosition + 1, this.endStatementPosition);
flushCommentsDefinedPriorTo(this.endStatementPosition);
}
|
| |||
protected void [[#variable922a2460]]() {
// ClassMemberDeclaration ::= ';'
// TypeDeclaration ::= ';'
pushOnAstLengthStack(0);
if ( !this.statementRecoveryActivated)
problemReporter().superfluousSemicolon(this.endPosition + 1, this.endStatementPosition);
flushCommentsDefinedPriorTo(this.endStatementPosition);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#922a2460]] | consumeEmptyClassMemberDeclaration |
| 1 | 2 | [[#922a2460]] | consumeEmptyTypeDeclaration |