CloneSet2212


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
183811
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
28967
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionParser.java
Clone Instance
1
Line Count
8
Source Line
3811
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java

protected LocalDeclaration createLocalDeclaration(char[] assistName, int sourceStart, int sourceEnd) {
        if (this.indexOfAssistIdentifier() < 0) {
                return super.createLocalDeclaration(assistName, sourceStart, sourceEnd);
        }
        else   {
                CompletionOnLocalName local = new CompletionOnLocalName(assistName, sourceStart, sourceEnd);
                this.assistNode = local;
                this.lastCheckPoint = sourceEnd + 1;
                return local;
        }
}


Clone Instance
2
Line Count
8
Source Line
967
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionParser.java

protected LocalDeclaration createLocalDeclaration(char[] assistName, int sourceStart, int sourceEnd) {
        if (this.indexOfAssistIdentifier() < 0) {
                return super.createLocalDeclaration(assistName, sourceStart, sourceEnd);
        }
        else   {
                SelectionOnLocalName local = new SelectionOnLocalName(assistName, sourceStart, sourceEnd);
                this.assistNode = local;
                this.lastCheckPoint = sourceEnd + 1;
                return local;
        }
}


Clone AbstractionParameter Count: 1Parameter Bindings

protected LocalDeclaration createLocalDeclaration(char[] assistName, int sourceStart, int sourceEnd) {
  if (this.indexOfAssistIdentifier() < 0) {
    return super.createLocalDeclaration(assistName, sourceStart, sourceEnd);
  }
  else {
     [[#variableb7aa8b40]] local = new [[#variableb7aa8b40]](assistName, sourceStart, sourceEnd);
    this.assistNode = local;
    this.lastCheckPoint = sourceEnd + 1;
    return local;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b7aa8b40]]
SelectionOnLocalName 
12[[#b7aa8b40]]
CompletionOnLocalName