| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.974 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 540 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java |
| 2 | 5 | 564 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java |
| ||||
{
// augment super interfaces with the wildcard bound
int length = this.superInterfaces.length;
System.arraycopy(this.superInterfaces, 0, this.superInterfaces = new ReferenceBinding[length + 1], 1, length);
this.superInterfaces[0] = (ReferenceBinding) this.bound; // make bound first
}
|
| ||||
{
// augment super interfaces with the wildcard otherBounds (interfaces per construction)
int otherLength = this.otherBounds.length;
System.arraycopy(this.otherBounds, 0, this.superInterfaces = new ReferenceBinding[otherLength + 1], 1, otherLength);
this.superInterfaces[0] = (ReferenceBinding) this.bound;
}
|
| |||
{
// augment super interfaces with the wildcard bound
// augment super interfaces with the wildcard otherBounds (interfaces per construction)
int [[#variable567d87a0]]= this. [[#variable567d8700]].length;
System.arraycopy(this. [[#variable567d8700]], 0, this.superInterfaces = new ReferenceBinding[ [[#variable567d87a0]] + 1], 1, [[#variable567d87a0]]);
this.superInterfaces[0] = (ReferenceBinding) this.bound; // make bound first
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#567d87a0]] | length |
| 1 | 2 | [[#567d87a0]] | otherLength |
| 2 | 1 | [[#567d8700]] | superInterfaces |
| 2 | 2 | [[#567d8700]] | otherBounds |