Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.970 | statement_sequence[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 1218 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
2 | 12 | 1240 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
| ||||
if (invocType == QUALIFIED_ALLOCATION) { call.qualification = this.expressionStack[qualifierExprPtr]; } // no source is going to be replaced call.sourceStart = this.cursorLocation + 1; call.sourceEnd = this.cursorLocation; // remember the explicit constructor call as an orphan completion node this.assistNode = call; this.lastCheckPoint = call.sourceEnd + 1; this.isOrphanCompletionNode = true; return true; |
| ||||
if (invocType == QUALIFIED_ALLOCATION) { allocExpr.enclosingInstance = this.expressionStack[qualifierExprPtr]; } // no source is going to be replaced allocExpr.sourceStart = this.cursorLocation + 1; allocExpr.sourceEnd = this.cursorLocation; // remember the allocation expression as an orphan completion node this.assistNode = allocExpr; this.lastCheckPoint = allocExpr.sourceEnd + 1; this.isOrphanCompletionNode = true; return true; |
| |||
if (invocType == QUALIFIED_ALLOCATION) { [[#variable9b4b0b80]]. [[#variable9be0c760]]= this.expressionStack[qualifierExprPtr]; } [[#variable9b4b0b80]].sourceStart = this.cursorLocation + 1; [[#variable9b4b0b80]].sourceEnd = this.cursorLocation; // remember the allocation expression as an orphan completion node // remember the explicit constructor call as an orphan completion node this.assistNode = [[#variable9b4b0b80]]; this.lastCheckPoint = [[#variable9b4b0b80]].sourceEnd + 1; this.isOrphanCompletionNode = true; return true; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b4b0b80]] | allocExpr |
1 | 2 | [[#9b4b0b80]] | call |
2 | 1 | [[#9be0c760]] | enclosingInstance |
2 | 2 | [[#9be0c760]] | qualification |