CloneSet3590


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.989class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16341
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
28374
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
Clone Instance
1
Line Count
6
Source Line
341
Source File
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();
        }
}


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

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();
        }
}


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52f97f40]]
consumeEnumConstantWithClassBody 
12[[#52f97f40]]
consumeExitVariableWithoutInitialization