CloneSet3194


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.970statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1131218
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
2121240
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
Clone Instance
1
Line Count
13
Source Line
1218
Source File
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;


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

                                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;


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b4b0b80]]
allocExpr 
12[[#9b4b0b80]]
call 
21[[#9be0c760]]
enclosingInstance 
22[[#9be0c760]]
qualification