CloneSet1350


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24220.994class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1249230
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
2249255
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
Clone Instance
1
Line Count
24
Source Line
9230
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

public Expression parseExpression(char[] source, int offset, int length, CompilationUnitDeclaration unit) {

        initialize();
        goForExpression();
        this.nestedMethod[this.nestedType]++;

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

        this.scanner.setSource(source);
        this.scanner.resetTo(offset, offset + length - 1);
        try {
                parse();
        } catch (AbortCompilation ex) {
                this.lastAct = ERROR_ACTION;
          }
          finally {
                this.nestedMethod[this.nestedType]--;
          }
        if (this.lastAct == ERROR_ACTION) {
                return null;
        }

        return this.expressionStack[this.expressionPtr];
}


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

public Expression parseMemberValue(char[] source, int offset, int length, CompilationUnitDeclaration unit) {

        initialize();
        goForMemberValue();
        this.nestedMethod[this.nestedType]++;

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

        this.scanner.setSource(source);
        this.scanner.resetTo(offset, offset + length - 1);
        try {
                parse();
        } catch (AbortCompilation ex) {
                this.lastAct = ERROR_ACTION;
          }
          finally {
                this.nestedMethod[this.nestedType]--;
          }
        if (this.lastAct == ERROR_ACTION) {
                return null;
        }

        return this.expressionStack[this.expressionPtr];
}


Clone AbstractionParameter Count: 2Parameter Bindings

public Expression  [[#variableb2c14420]](char[] source, int offset, int length, CompilationUnitDeclaration unit) {
  initialize();
   [[#variablea4f4b660]]();
  this.nestedMethod[this.nestedType]++;
  this.referenceContext = unit;
  this.compilationUnit = unit;
  this.scanner.setSource(source);
  this.scanner.resetTo(offset, offset + length - 1);
  try {
    parse();
  }
  catch (AbortCompilation ex) {
    this.lastAct = ERROR_ACTION;
  }
  finally {
    this.nestedMethod[this.nestedType]--;
  }
  if (this.lastAct == ERROR_ACTION) {
    return null;
  }
  return this.expressionStack[this.expressionPtr];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2c14420]]
parseExpression 
12[[#b2c14420]]
parseMemberValue 
21[[#a4f4b660]]
goForExpression 
22[[#a4f4b660]]
goForMemberValue