CloneSet2779


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20230.982class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1166555
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
2206584
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
Clone Instance
1
Line Count
16
Source Line
6555
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

protected void consumeStatementBreak() {
        // BreakStatement ::= 'break' ';'
        // break pushs a position on this.intStack in case there is no label

        pushOnAstStack(new BreakStatement(null, this.intStack[this.intPtr-- ], this.endPosition));
}

protected void consumeStatementBreakWithLabel() {
        // BreakStatement ::= 'break' Identifier ';'
        // break pushs a position on this.intStack in case there is no label

        pushOnAstStack(
                new BreakStatement(
                        this.identifierStack[this.identifierPtr-- ], 
                        this.intStack[this.intPtr-- ], 
                        this.endPosition));
        this.identifierLengthPtr--;
}


Clone Instance
2
Line Count
20
Source Line
6584
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

protected void consumeStatementContinue() {
        // ContinueStatement ::= 'continue' ';'
        // continue pushs a position on this.intStack in case there is no label

        pushOnAstStack(
                new ContinueStatement(
                        null, 
                        this.intStack[this.intPtr-- ], 
                        this.endPosition));
}

protected void consumeStatementContinueWithLabel() {
        // ContinueStatement ::= 'continue' Identifier ';'
        // continue pushs a position on this.intStack in case there is no label

        pushOnAstStack(
                new ContinueStatement(
                        this.identifierStack[this.identifierPtr-- ], 
                        this.intStack[this.intPtr-- ], 
                        this.endPosition));
        this.identifierLengthPtr--;
}


Clone AbstractionParameter Count: 3Parameter Bindings

protected void [[#variableb4c3c9e0]]() {
  // ContinueStatement ::= 'continue' ';'
  // continue pushs a position on this.intStack in case there is no label
  // BreakStatement ::= 'break' ';'
  // break pushs a position on this.intStack in case there is no label
  pushOnAstStack(new [[#variableb4c3c9a0]](null, this.intStack[this.intPtr-- ], this.endPosition));
}

protected void [[#variableb4c3c900]]() {
  // ContinueStatement ::= 'continue' Identifier ';'
  // continue pushs a position on this.intStack in case there is no label
  // BreakStatement ::= 'break' Identifier ';'
  // break pushs a position on this.intStack in case there is no label
  pushOnAstStack(new [[#variableb4c3c9a0]](this.identifierStack[this.identifierPtr-- ], this.intStack[this.intPtr-- ], this.endPosition));
  this.identifierLengthPtr--;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4c3c9e0]]
consumeStatementContinue 
12[[#b4c3c9e0]]
consumeStatementBreak 
21[[#b4c3c9a0]]
ContinueStatement 
22[[#b4c3c9a0]]
BreakStatement 
31[[#b4c3c900]]
consumeStatementContinueWithLabel 
32[[#b4c3c900]]
consumeStatementBreakWithLabel