| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 2 | 0.975 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 232 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java |
| 2 | 4 | 353 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java |
| ||||
if (binding != null) {
final ConstraintVariable2 ancestor = fModel.createImmutableTypeVariable(binding);
if (ancestor != null)
fModel.createSubtypeConstraint(descendant, ancestor);
}
|
| ||||
if (declaring != null) {
final ConstraintVariable2 ancestor = fModel.createDeclaringTypeVariable(declaring);
if (ancestor != null)
fModel.createSubtypeConstraint(descendant, ancestor);
}
|
| |||
if ( [[#variable65165020]]!= null) {
final ConstraintVariable2 ancestor = fModel. [[#variable65164fa0]]( [[#variable65165020]]);
if (ancestor != null)
fModel.createSubtypeConstraint(descendant, ancestor);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#65165020]] | declaring |
| 1 | 2 | [[#65165020]] | binding |
| 2 | 1 | [[#65164fa0]] | createDeclaringTypeVariable |
| 2 | 2 | [[#65164fa0]] | createImmutableTypeVariable |