Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.985 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 1546 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java |
2 | 13 | 1560 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#59cad4a0]] | topKnownElementKind |
1 | 2 | [[#59cad4a0]] | topKnownElementInfo |
2 | 1 | [[#b43f4700]] | elementKindStack |
2 | 2 | [[#b43f4700]] | elementInfoStack |