CloneSet2874


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.954class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
191695
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
2111726
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
Clone Instance
1
Line Count
9
Source Line
1695
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java

protected void consumeCastExpressionWithPrimitiveType() {
        popElement(K_CAST_STATEMENT);

        Expression exp, cast, castType;
        expressionPtr--;
        expressionLengthPtr--;
        expressionStack[expressionPtr] = cast = new CastExpression(exp = expressionStack[expressionPtr + 1], castType = expressionStack[expressionPtr]);
        cast.sourceStart = castType.sourceStart - 1;
        cast.sourceEnd = exp.sourceEnd;
}


Clone Instance
2
Line Count
11
Source Line
1726
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java

protected void consumeCastExpressionWithNameArray() {
        // CastExpression ::= PushLPAREN Name Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus
        popElement(K_CAST_STATEMENT);

        Expression exp, cast, castType;

        expressionPtr--;
        expressionLengthPtr--;
        expressionStack[expressionPtr] = cast = new CastExpression(exp = expressionStack[expressionPtr + 1], castType = this.expressionStack[this.expressionPtr]);
        cast.sourceStart = castType.sourceStart - 1;
        cast.sourceEnd = exp.sourceEnd;
}


Clone AbstractionParameter Count: 3Parameter Bindings

protected void [[#variable5446cda0]]() {
  // CastExpression ::= PushLPAREN Name Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus
  popElement(K_CAST_STATEMENT);
  Expression exp, cast, castType;
  expressionPtr--;
  expressionLengthPtr--;
  expressionStack[expressionPtr] = cast = new CastExpression(exp = expressionStack[expressionPtr + 1], castType = [[#variable5446cd20]][ [[#variable5446cc80]]]);
  cast.sourceStart = castType.sourceStart - 1;
  cast.sourceEnd = exp.sourceEnd;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5446cda0]]
consumeCastExpressionWithPrimitiveType 
12[[#5446cda0]]
consumeCastExpressionWithNameArray 
21[[#5446cd20]]
expressionStack 
22[[#5446cd20]]
this.expressionStack 
31[[#5446cc80]]
expressionPtr 
32[[#5446cc80]]
this.expressionPtr