CloneSet2750


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111560
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
2111171
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
Clone Instance
1
Line Count
11
Source Line
560
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java

                                                                // remove special flags for primitive types
                                                                while (this.identifierLengthPtr >= 0 && this.identifierLengthStack[this.identifierLengthPtr] < 0) {
                                                                        this.identifierLengthPtr--;
                                                                }

                                                                // remove selector 
                                                                this.identifierPtr--;
                                                                if (this.genericsPtr > -1 && this.genericsLengthPtr > -1 && this.genericsLengthStack[this.genericsLengthPtr] > 0) {
                                                                        // is inside a paremeterized method: bar.<X>.foo
                                                                        this.identifierLengthPtr--;
                                                                }
                                                                else   {
                                                                        this.identifierLengthStack[this.identifierLengthPtr]--;
                                                                }


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

                                        // remove special flags for primitive types
                                        while (this.identifierLengthPtr >= 0 && this.identifierLengthStack[this.identifierLengthPtr] < 0) {
                                                this.identifierLengthPtr--;
                                        }

                                        // remove selector 
                                        this.identifierPtr--;
                                        if (this.genericsPtr > -1 && this.genericsLengthPtr > -1 && this.genericsLengthStack[this.genericsLengthPtr] > 0) {
                                                // is inside a paremeterized method: bar.<X>.foo
                                                this.identifierLengthPtr--;
                                        }
                                        else   {
                                                this.identifierLengthStack[this.identifierLengthPtr]--;
                                        }


Clone AbstractionParameter Count: 0Parameter Bindings

// remove special flags for primitive types
while (this.identifierLengthPtr >= 0 && this.identifierLengthStack[this.identifierLengthPtr] < 0) {
  this.identifierLengthPtr--;
}
// remove selector 
this.identifierPtr--;
if (this.genericsPtr > -1 && this.genericsLengthPtr > -1 && this.genericsLengthStack[this.genericsLengthPtr] > 0) {
  // is inside a paremeterized method: bar.<X>.foo
  this.identifierLengthPtr--;
}
else {
  this.identifierLengthStack[this.identifierLengthPtr]--;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None