CloneSet787


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
27340.964statement_sequence[9]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1278913
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
2269090
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
3279152
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
Clone Instance
1
Line Count
27
Source Line
8913
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

        pushOnRealBlockStack(0);

        this.referenceContext = cd;
        this.compilationUnit = unit;

        this.scanner.resetTo(cd.bodyStart, cd.bodyEnd);
        try {
                parse();
        } catch (AbortCompilation ex) {
                this.lastAct = ERROR_ACTION;
          }
          finally {
                this.nestedMethod[this.nestedType]--;
                if (this.options.performStatementsRecovery) {
                        this.methodRecoveryActivated = oldMethodRecoveryActivated;
                }
          }
        checkNonNLSAfterBodyEnd(cd.declarationSourceEnd);

        if (this.lastAct == ERROR_ACTION) {
                initialize();
                return;
        }

        //statements
        cd.explicitDeclarations = this.realBlockStack[this.realBlockPtr-- ];
        int length;


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

        pushOnRealBlockStack(0);

        this.referenceContext = type;
        this.compilationUnit = unit;

        this.scanner.resetTo(initializer.bodyStart, initializer.bodyEnd); // just on the beginning {
        try {
                parse();
        } catch (AbortCompilation ex) {
                this.lastAct = ERROR_ACTION;
          }
          finally {
                this.nestedMethod[this.nestedType]--;
                if (this.options.performStatementsRecovery) {
                        this.methodRecoveryActivated = oldMethodRecoveryActivated;
                }
          }
        checkNonNLSAfterBodyEnd(initializer.declarationSourceEnd);

        if (this.lastAct == ERROR_ACTION) {
                return;
        }

        //refill statements
        initializer.block.explicitDeclarations = this.realBlockStack[this.realBlockPtr-- ];
        int length;


Clone Instance
3
Line Count
27
Source Line
9152
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

        pushOnRealBlockStack(0);

        this.referenceContext = md;
        this.compilationUnit = unit;

        this.scanner.resetTo(md.bodyStart, md.bodyEnd);
        // reset the scanner to parser from { down to }
        try {
                parse();
        } catch (AbortCompilation ex) {
                this.lastAct = ERROR_ACTION;
          }
          finally {
                this.nestedMethod[this.nestedType]--;
                if (this.options.performStatementsRecovery) {
                        this.methodRecoveryActivated = oldMethodRecoveryActivated;
                }
          }
        checkNonNLSAfterBodyEnd(md.declarationSourceEnd);

        if (this.lastAct == ERROR_ACTION) {
                return;
        }

        //refill statements
        md.explicitDeclarations = this.realBlockStack[this.realBlockPtr-- ];
        int length;


Clone AbstractionParameter Count: 4Parameter Bindings

pushOnRealBlockStack(0);
this.referenceContext = [[#variablebd2f2300]];
this.compilationUnit = unit;
this.scanner.resetTo( [[#variablebd2f2340]].bodyStart,  [[#variablebd2f2340]].bodyEnd); // just on the beginning {
// reset the scanner to parser from { down to }
try {
  parse();
}
catch (AbortCompilation ex) {
  this.lastAct = ERROR_ACTION;
}
finally {
  this.nestedMethod[this.nestedType]--;
  if (this.options.performStatementsRecovery) {
    this.methodRecoveryActivated = oldMethodRecoveryActivated;
  }
}
checkNonNLSAfterBodyEnd( [[#variablebd2f2340]].declarationSourceEnd);
if (this.lastAct == ERROR_ACTION) {
   [[#variablebd2f22c0]]
}
 [[#variablec1c0be00]].explicitDeclarations = this.realBlockStack[this.realBlockPtr-- ];
int length;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bd2f2300]]
cd 
12[[#bd2f2300]]
type 
13[[#bd2f2300]]
md 
21[[#bd2f2340]]
cd 
22[[#bd2f2340]]
initializer 
23[[#bd2f2340]]
md 
31[[#bd2f22c0]]
initialize();
return; 
32[[#bd2f22c0]]
return; 
33[[#bd2f22c0]]
return; 
41[[#c1c0be00]]
//statements
cd 
42[[#c1c0be00]]
//refill statements
initializer.block 
43[[#c1c0be00]]
//refill statements
md