Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.954 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 1695 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
2 | 11 | 1726 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5446cda0]] | consumeCastExpressionWithPrimitiveType |
1 | 2 | [[#5446cda0]] | consumeCastExpressionWithNameArray |
2 | 1 | [[#5446cd20]] | expressionStack |
2 | 2 | [[#5446cd20]] | this.expressionStack |
3 | 1 | [[#5446cc80]] | expressionPtr |
3 | 2 | [[#5446cc80]] | this.expressionPtr |