Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.963 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 380 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java |
2 | 2 | 384 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java |
| ||||
//creating equals constraint between parameterTypeVariable's elements and the Type's elements ConstraintVariable2 typeCv = getConstraintVariable(paramDecl.getType()); fTCModel.createElementEqualsConstraints(parameterTypeCv, typeCv); |
| ||||
//TODO: should avoid having a VariableVariable as well as a ParameterVariable for a parameter ConstraintVariable2 nameCv = getConstraintVariable(paramDecl.getName()); fTCModel.createElementEqualsConstraints(parameterTypeCv, nameCv); |
| |||
//creating equals constraint between parameterTypeVariable's elements and the Type's elements //TODO: should avoid having a VariableVariable as well as a ParameterVariable for a parameter ConstraintVariable2 [[#variableb9c0c2a0]]= getConstraintVariable(paramDecl. [[#variableb9c0c300]]()); fTCModel.createElementEqualsConstraints(parameterTypeCv, [[#variableb9c0c2a0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b9c0c2a0]] | typeCv |
1 | 2 | [[#b9c0c2a0]] | nameCv |
2 | 1 | [[#b9c0c300]] | getType |
2 | 2 | [[#b9c0c300]] | getName |