Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.966 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 3624 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
2 | 9 | 463 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionParser.java |
| ||||
if (isSuperAccess) { //considerates the fieldReference beginning at the 'super' .... fr.sourceStart = intStack[intPtr-- ]; fr.receiver = new SuperReference(fr.sourceStart, endPosition); pushOnExpressionStack(fr); } else { //optimize push/pop if ((fr.receiver = expressionStack[expressionPtr]).isThis()) { //fieldreference begins at the this fr.sourceStart = fr.receiver.sourceStart; } expressionStack[expressionPtr] = fr; } |
| ||||
if (isSuperAccess) { //considerates the fieldReferenceerence beginning at the 'super' .... fieldReference.sourceStart = intStack[intPtr-- ]; fieldReference.receiver = new SuperReference(fieldReference.sourceStart, endPosition); pushOnExpressionStack(fieldReference); } else { //optimize push/pop if ((fieldReference.receiver = expressionStack[expressionPtr]).isThis()) { //fieldReferenceerence begins at the this fieldReference.sourceStart = fieldReference.receiver.sourceStart; } expressionStack[expressionPtr] = fieldReference; } |
| |||
if (isSuperAccess) { //considerates the fieldReference beginning at the 'super' .... //considerates the fieldReferenceerence beginning at the 'super' .... [[#variable92fa0880]].sourceStart = intStack[intPtr-- ]; [[#variable92fa0880]].receiver = new SuperReference( [[#variable92fa0880]].sourceStart, endPosition); pushOnExpressionStack( [[#variable92fa0880]]); } else { //optimize push/pop if (( [[#variable92fa0880]].receiver = expressionStack[expressionPtr]).isThis()) { //fieldreference begins at the this //fieldReferenceerence begins at the this [[#variable92fa0880]].sourceStart = [[#variable92fa0880]].receiver.sourceStart; } expressionStack[expressionPtr] = [[#variable92fa0880]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#92fa0880]] | fr |
1 | 2 | [[#92fa0880]] | fieldReference |