CloneSet3311


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.990class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16349
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
29363
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
Clone Instance
1
Line Count
6
Source Line
349
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java

protected void consumeEnumConstantNoClassBody() {
        super.consumeEnumConstantNoClassBody();
        if ((currentToken == TokenNameCOMMA || currentToken == TokenNameSEMICOLON) &&
                           this.astStack[this.astPtr] instanceof FieldDeclaration) {
                this.sourceEnds.put(this.astStack[this.astPtr], this.scanner.currentPosition - 1);
                rememberCategories();
        }
}


Clone Instance
2
Line Count
9
Source Line
363
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java

protected void consumeExitVariableWithInitialization() {
        // ExitVariableWithInitialization ::= $empty
        // the scanner is located after the comma or the semi-colon.
        // we want to include the comma or the semi-colon
        super.consumeExitVariableWithInitialization();
        if ((currentToken == TokenNameCOMMA || currentToken == TokenNameSEMICOLON) &&
                           this.astStack[this.astPtr] instanceof FieldDeclaration) {
                this.sourceEnds.put(this.astStack[this.astPtr], this.scanner.currentPosition - 1);
                rememberCategories();
        }
}


Clone AbstractionParameter Count: 1Parameter Bindings

protected void [[#variableb42b23c0]]() {
  // ExitVariableWithInitialization ::= $empty
  // the scanner is located after the comma or the semi-colon.
  // we want to include the comma or the semi-colon
  super. [[#variableb42b23c0]]();
  if ((currentToken == TokenNameCOMMA || currentToken == TokenNameSEMICOLON) && this.astStack[this.astPtr] instanceof FieldDeclaration) {
    this.sourceEnds.put(this.astStack[this.astPtr], this.scanner.currentPosition - 1);
    rememberCategories();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b42b23c0]]
consumeEnumConstantNoClassBody 
12[[#b42b23c0]]
consumeExitVariableWithInitialization