CloneSet8793


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.963statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12380
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java
22384
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java
Clone Instance
1
Line Count
2
Source Line
380
Source File
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);


Clone Instance
2
Line Count
2
Source Line
384
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java

                        //TODO: should avoid having a VariableVariable as well as a ParameterVariable for a parameter
                        ConstraintVariable2 nameCv = getConstraintVariable(paramDecl.getName());
                        fTCModel.createElementEqualsConstraints(parameterTypeCv, nameCv);


Clone AbstractionParameter Count: 2Parameter Bindings

//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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9c0c2a0]]
typeCv 
12[[#b9c0c2a0]]
nameCv 
21[[#b9c0c300]]
getType 
22[[#b9c0c300]]
getName