Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 4 | 0.966 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 135 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/FullConstraintCreator.java |
2 | 3 | 607 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/FullConstraintCreator.java |
| ||||
ITypeConstraint[] definesConstraint = fTypeConstraintFactory.createDefinesConstraint(fConstraintVariableFactory.makeExpressionOrTypeVariable(castExpression, getContext()), fConstraintVariableFactory.makeTypeVariable(castExpression.getType())); |
| ||||
ITypeConstraint[] defines = fTypeConstraintFactory.createDefinesConstraint( fConstraintVariableFactory.makeExpressionOrTypeVariable(accessExpression, getContext()), fConstraintVariableFactory.makeRawBindingVariable(fieldBinding.getType())); |
| |||
ITypeConstraint[] [[#variable5d3ad1a0]]= fTypeConstraintFactory.createDefinesConstraint(fConstraintVariableFactory.makeExpressionOrTypeVariable( [[#variable5d3ad0a0]], getContext()), fConstraintVariableFactory. [[#variable5d3ad020]]( [[#variable5d3ad120]].getType())); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5d3ad1a0]] | defines |
1 | 2 | [[#5d3ad1a0]] | definesConstraint |
2 | 1 | [[#5d3ad0a0]] | accessExpression |
2 | 2 | [[#5d3ad0a0]] | castExpression |
3 | 1 | [[#5d3ad020]] | makeRawBindingVariable |
3 | 2 | [[#5d3ad020]] | makeTypeVariable |
4 | 1 | [[#5d3ad120]] | fieldBinding |
4 | 2 | [[#5d3ad120]] | castExpression |