| 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.957 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 373 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java |
| 2 | 13 | 253 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java |
| ||||
if (this.actualReceiverType == null) {
return null;
}
// base type cannot receive any message
if (this.actualReceiverType.isBaseType()) {
scope.problemReporter().errorNoMethodFor(this, this.actualReceiverType, argumentTypes);
return null;
}
this.binding =
receiver.isImplicitThis() ?
scope.getImplicitMethod(selector, argumentTypes, this ):
scope.getMethod(this.actualReceiverType, selector, argumentTypes, this );
|
| ||||
if (this.actualReceiverType == null) {
return null;
}
// base type cannot receive any message
if (this.actualReceiverType.isBaseType()) {
scope.problemReporter().errorNoMethodFor(this, this.actualReceiverType, argumentTypes);
return null;
}
this.binding =
this.receiver.isImplicitThis() ?
scope.getImplicitMethod(this.selector, argumentTypes, this ):
scope.getMethod(this.actualReceiverType, this.selector, argumentTypes, this );
|
| |||
if (this.actualReceiverType == null) {
return null;
}
// base type cannot receive any message
if (this.actualReceiverType.isBaseType()) {
scope.problemReporter().errorNoMethodFor(this, this.actualReceiverType, argumentTypes);
return null;
}
this.binding = [[#variable97a64f80]].isImplicitThis() ? scope.getImplicitMethod( [[#variable97a64f60]], argumentTypes, this ): scope.getMethod(this.actualReceiverType, [[#variable97a64f60]], argumentTypes, this );
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#97a64f80]] | this.receiver |
| 1 | 2 | [[#97a64f80]] | receiver |
| 2 | 1 | [[#97a64f60]] | this.selector |
| 2 | 2 | [[#97a64f60]] | selector |