Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.979 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 153 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java |
2 | 6 | 621 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java |
| ||||
node.setProperty(PROPERTY_CONSTRAINT_VARIABLE, ancestor); final ArrayInitializer initializer = node.getInitializer(); if (initializer != null) { final ConstraintVariable2 descendant = (ConstraintVariable2) initializer.getProperty(PROPERTY_CONSTRAINT_VARIABLE); if (descendant != null) fModel.createSubtypeConstraint(descendant, ancestor); } |
| ||||
node.setProperty(PROPERTY_CONSTRAINT_VARIABLE, ancestor); final Expression expression = node.getInitializer(); if (expression != null) { final ConstraintVariable2 descendant = (ConstraintVariable2) expression.getProperty(PROPERTY_CONSTRAINT_VARIABLE); if (descendant != null) fModel.createSubtypeConstraint(descendant, ancestor); } |
| |||
node.setProperty(PROPERTY_CONSTRAINT_VARIABLE, ancestor); final [[#variable78a71820]] [[#variable76c25640]]= node.getInitializer(); if ( [[#variable76c25640]]!= null) { final ConstraintVariable2 descendant = (ConstraintVariable2) [[#variable76c25640]].getProperty(PROPERTY_CONSTRAINT_VARIABLE); if (descendant != null) fModel.createSubtypeConstraint(descendant, ancestor); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#78a71820]] | ArrayInitializer |
1 | 2 | [[#78a71820]] | Expression |
2 | 1 | [[#76c25640]] | initializer |
2 | 2 | [[#76c25640]] | expression |