CloneSet1277


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

public  String toString() {
        String s = ""; //$NON-NLS-1$
        s = s + "elementKindStack : int[] = {"; //$NON-NLS-1$
        for (int i = 0; i <= elementPtr; i++) {
                s = s + String.valueOf(elementKindStack[i]) + ","; //$NON-NLS-1$
        }
        s = s + "}\n"; //$NON-NLS-1$
        s = s + "elementInfoStack : int[] = {"; //$NON-NLS-1$
        for (int i = 0; i <= elementPtr; i++) {
                s = s + String.valueOf(elementInfoStack[i]) + ","; //$NON-NLS-1$
        }
        s = s + "}\n"; //$NON-NLS-1$
        return s + super.toString();
}


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

public  String toString() {
        String s = ""; //$NON-NLS-1$
        s = s + "elementKindStack : int[] = {"; //$NON-NLS-1$
        for (int i = 0; i <= elementPtr; i++) {
                s = s + String.valueOf(elementKindStack[i]) + ","; //$NON-NLS-1$
        }
        s = s + "}\n"; //$NON-NLS-1$
        s = s + "elementInfoStack : int[] = {"; //$NON-NLS-1$
        for (int i = 0; i <= elementPtr; i++) {
                s = s + String.valueOf(elementInfoStack[i]) + ","; //$NON-NLS-1$
        }
        s = s + "}\n"; //$NON-NLS-1$
        return s + super.toString();
}


Clone AbstractionParameter Count: 0Parameter Bindings

public String toString() {
  String s = ""; //$NON-NLS-1$
  s = s + "elementKindStack : int[] = {"; //$NON-NLS-1$
  for (int i = 0; i <= elementPtr; i++) {
    s = s + String.valueOf(elementKindStack[i]) + ","; //$NON-NLS-1$
  }
  s = s + "}\n"; //$NON-NLS-1$
  s = s + "elementInfoStack : int[] = {"; //$NON-NLS-1$
  for (int i = 0; i <= elementPtr; i++) {
    s = s + String.valueOf(elementInfoStack[i]) + ","; //$NON-NLS-1$
  }
  s = s + "}\n"; //$NON-NLS-1$
  return s + super.toString();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None