| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 18 | 2 | 1 | 0.986 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 18 | 136 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java |
| 2 | 13 | 185 | 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 );
|
| ||||
// 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);
|
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bafcab60]] | otherBindingsCount |
| 1 | 2 | [[#bafcab60]] | -1 |