CloneSet2093


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.985class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1131546
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java
2131560
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java
Clone Instance
1
Line Count
13
Source Line
1546
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java

protected int topKnownElementInfo(int owner) {
        return topKnownElementInfo(owner, 0);
}

protected int topKnownElementInfo(int owner, int offSet) {
        int i = elementPtr;
        while (i > -1) {
                if ((elementKindStack[i]&  owner) != 0) {
                        if (offSet <= 0) return elementInfoStack[i];
                        offSet--;
                }
                i--;
        }
        return 0;
}


Clone Instance
2
Line Count
13
Source Line
1560
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java

protected int topKnownElementKind(int owner) {
        return topKnownElementKind(owner, 0);
}

protected int topKnownElementKind(int owner, int offSet) {
        int i = elementPtr;
        while (i > -1) {
                if ((elementKindStack[i]&  owner) != 0) {
                        if (offSet <= 0) return elementKindStack[i];
                        offSet--;
                }
                i--;
        }
        return 0;
}


Clone AbstractionParameter Count: 2Parameter Bindings

protected int  [[#variable59cad4a0]](int owner) {
  return [[#variable59cad4a0]](owner, 0);
}

protected int  [[#variable59cad4a0]](int owner, int offSet) {
  int i = elementPtr;
  while (i > -1) {
    if ((elementKindStack[i]&owner) != 0) {
      if (offSet <= 0)
        return [[#variableb43f4700]][i];
      offSet--;
    }
    i--;
  }
  return 0;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59cad4a0]]
topKnownElementKind 
12[[#59cad4a0]]
topKnownElementInfo 
21[[#b43f4700]]
elementKindStack 
22[[#b43f4700]]
elementInfoStack