| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 2 | 0.952 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 748 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java |
| 2 | 8 | 769 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java |
| ||||
switch (wildcard.boundKind) {
case Wildcard.EXTENDS:
return otherArgument.isCompatibleWith(wildcard.bound);
case Wildcard.SUPER:
return wildcard.bound.isCompatibleWith(otherArgument);
case Wildcard.UNBOUND:
default:
return true;
}
|
| ||||
switch (otherWildcard.boundKind) {
case Wildcard.EXTENDS:
return this.isCompatibleWith(otherWildcard.bound);
case Wildcard.SUPER:
return otherWildcard.bound.isCompatibleWith(this );
case Wildcard.UNBOUND:
default:
return true;
}
|
| |||
switch ( [[#variablea37e3720]].boundKind) {
case Wildcard.EXTENDS:
return [[#variablea37e3f80]].isCompatibleWith( [[#variablea37e3720]].bound);
case Wildcard.SUPER:
return [[#variablea37e3720]].bound.isCompatibleWith( [[#variablea37e3f80]]);
case Wildcard.UNBOUND:
default:
return true;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a37e3720]] | wildcard |
| 1 | 2 | [[#a37e3720]] | otherWildcard |
| 2 | 1 | [[#a37e3f80]] | otherArgument |
| 2 | 2 | [[#a37e3f80]] | this |