Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.989 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 341 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
2 | 8 | 374 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
| ||||
protected void consumeEnumConstantWithClassBody() { super.consumeEnumConstantWithClassBody(); if ((currentToken == TokenNameCOMMA || currentToken == TokenNameSEMICOLON) && astStack[astPtr] instanceof FieldDeclaration) { this.sourceEnds.put(this.astStack[this.astPtr], this.scanner.currentPosition - 1); rememberCategories(); } } |
| ||||
protected void consumeExitVariableWithoutInitialization() { // ExitVariableWithoutInitialization ::= $empty // do nothing by default super.consumeExitVariableWithoutInitialization(); if ((currentToken == TokenNameCOMMA || currentToken == TokenNameSEMICOLON) && astStack[astPtr] instanceof FieldDeclaration) { this.sourceEnds.put(this.astStack[this.astPtr], this.scanner.currentPosition - 1); rememberCategories(); } } |
| |||
protected void [[#variable52f97f40]]() { // ExitVariableWithoutInitialization ::= $empty // do nothing by default super. [[#variable52f97f40]](); if ((currentToken == TokenNameCOMMA || currentToken == TokenNameSEMICOLON) && astStack[astPtr] instanceof FieldDeclaration) { this.sourceEnds.put(this.astStack[this.astPtr], this.scanner.currentPosition - 1); rememberCategories(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52f97f40]] | consumeEnumConstantWithClassBody |
1 | 2 | [[#52f97f40]] | consumeExitVariableWithoutInitialization |