CloneSet2557


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.966statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
193624
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
29463
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionParser.java
Clone Instance
1
Line Count
9
Source Line
3624
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.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;
        }


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

        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;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92fa0880]]
fr 
12[[#92fa0880]]
fieldReference