CloneSet2391


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18210.986statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118136
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java
213185
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java
Clone Instance
1
Line Count
18
Source Line
136
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java

                        TypeBinding lastReceiverType;
                        switch (otherBindingsCount) {
                                case 0:
                                        lastReceiverType = this.actualReceiverType;
                                        break;
                                case 1:
                                        lastReceiverType = ((VariableBinding) this.binding).type;
                                        break;
                                default:
                                        lastReceiverType = this.otherBindings[otherBindingsCount - 2].type;
                                        break;
                              }
                        manageSyntheticAccessIfNecessary(
                                currentScope, 
                                lastFieldBinding, 
                                lastReceiverType, 
                                otherBindingsCount, 
                                flowInfo                );


Clone Instance
2
Line Count
13
Source Line
185
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java

                // equivalent to valuesRequired[maxOtherBindings]
                TypeBinding lastReceiverType;
                switch (otherBindingsCount) {
                        case 0:
                                lastReceiverType = this.actualReceiverType;
                                break;
                        case 1:
                                lastReceiverType = ((VariableBinding) this.binding).type;
                                break;
                        default:
                                lastReceiverType = this.otherBindings[otherBindingsCount - 2].type;
                                break;
                      }
                manageSyntheticAccessIfNecessary(currentScope, lastFieldBinding, lastReceiverType, -1
                                                                                                      /*write-access*/
                                                                                                     ,                  flowInfo);


Clone AbstractionParameter Count: 1Parameter Bindings

// equivalent to valuesRequired[maxOtherBindings]
TypeBinding lastReceiverType;
switch (otherBindingsCount) {
  case 0:
    lastReceiverType = this.actualReceiverType;
    break;
  case 1:
    lastReceiverType = ((VariableBinding) this.binding).type;
    break;
  default:
    lastReceiverType = this.otherBindings[otherBindingsCount - 2].type;
    break;
}
manageSyntheticAccessIfNecessary(currentScope, lastFieldBinding, lastReceiverType,  [[#variablebafcab60]]
                                                                                  /*write-access*/
                                                                                  , flowInfo);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bafcab60]]
otherBindingsCount 
12[[#bafcab60]]
-1