CloneSet2990


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1103014
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
2103061
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
Clone Instance
1
Line Count
10
Source Line
3014
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java

        if (assistIdentifier() == null && this.currentToken == TokenNameIdentifier) { // Test below copied from CompletionScanner.getCurrentIdentifierSource()
                if (cursorLocation < this.scanner.startPosition && this.scanner.currentPosition == this.scanner.startPosition) { // fake empty identifier got issued
                        this.pushIdentifier();
                }
                else   if (cursorLocation + 1 >= this.scanner.startPosition && cursorLocation < this.scanner.currentPosition) {
                        this.pushIdentifier();
                       }
                       else {
                        return;
                       }
        }
        else   {
                return;
        }


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

        if (assistIdentifier() == null && this.currentToken == TokenNameIdentifier) { // Test below copied from CompletionScanner.getCurrentIdentifierSource()
                if (cursorLocation < this.scanner.startPosition && this.scanner.currentPosition == this.scanner.startPosition) { // fake empty identifier got issued
                        this.pushIdentifier();
                }
                else   if (cursorLocation + 1 >= this.scanner.startPosition && cursorLocation < this.scanner.currentPosition) {
                        this.pushIdentifier();
                       }
                       else {
                        return;
                       }
        }
        else   {
                return;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

if (assistIdentifier() == null && this.currentToken == TokenNameIdentifier) { // Test below copied from CompletionScanner.getCurrentIdentifierSource()
  if (cursorLocation < this.scanner.startPosition && this.scanner.currentPosition == this.scanner.startPosition) { // fake empty identifier got issued
    this.pushIdentifier();
  }
  else
    if (cursorLocation + 1 >= this.scanner.startPosition && cursorLocation < this.scanner.currentPosition) {
      this.pushIdentifier();
    }
    else {
      return;
    }
}
else {
  return;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None