CloneSet6327


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16138
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
26793
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
Clone Instance
1
Line Count
6
Source Line
138
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java

                                                /* might be completing at eof (e.g. behind a dot) */
                                                if (this.completionIdentifier == null &&
                                                        this.startPosition == this.cursorLocation + 1) {
                                                        this.currentPosition = this.startPosition; // for being detected as empty free identifier
                                                        return TokenNameIdentifier;
                                                }
                                                return TokenNameEOF;


Clone Instance
2
Line Count
6
Source Line
793
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java

        /* might be completing at very end of file (e.g. behind a dot) */
        if (this.completionIdentifier == null &&
                this.startPosition == this.cursorLocation + 1) {
                this.currentPosition = this.startPosition; // for being detected as empty free identifier
                return TokenNameIdentifier;
        }
        return TokenNameEOF;


Clone AbstractionParameter Count: 0Parameter Bindings

/* might be completing at eof (e.g. behind a dot) */
/* might be completing at very end of file (e.g. behind a dot) */
if (this.completionIdentifier == null && this.startPosition == this.cursorLocation + 1) {
  this.currentPosition = this.startPosition; // for being detected as empty free identifier
  return TokenNameIdentifier;
}
return TokenNameEOF;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None