| 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.971 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 197 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/TypeRules.java |
| 2 | 5 | 204 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/TypeRules.java |
| ||||
if (castType.isInterface()) {
if ((bindingToCast.getModifiers()& Modifier.FINAL) != 0) {
return Bindings.isSuperType(castType, bindingToCast);
}
else {
return true;
}
}
|
| ||||
if (bindingToCast.isInterface()) {
if ((castType.getModifiers()& Modifier.FINAL) != 0) {
return Bindings.isSuperType(bindingToCast, castType);
}
else {
return true;
}
}
|
| |||
if ( [[#variable62b1a6a0]].isInterface()) {
if (( [[#variable62b1a680]].getModifiers()&Modifier.FINAL) != 0) {
return Bindings.isSuperType( [[#variable62b1a6a0]], [[#variable62b1a680]]);
}
else {
return true;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#62b1a6a0]] | bindingToCast |
| 1 | 2 | [[#62b1a6a0]] | castType |
| 2 | 1 | [[#62b1a680]] | castType |
| 2 | 2 | [[#62b1a680]] | bindingToCast |