CloneSet4421


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.981executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14652
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java
25657
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java
Clone Instance
1
Line Count
4
Source Line
652
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java

                                                                                         {
                                                                        ConstraintVariable2 createdTypeCv = getConstraintVariable(createdType);
                                                                        CollectionElementVariable2 elementCv = fTCModel.getElementVariable(createdTypeCv, typeParameters[ta]);
                                                                        createWildcardConstraint(wildcardTypeArgument, argElementCv, elementCv);
                                                                                         }


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

                                                                                      {
                                                                        //e.g. Collection<E>: boolean addAll(Collection<? extends E> c)
                                                                        ConstraintVariable2 expressionCv = getConstraintVariable(receiver);
                                                                        CollectionElementVariable2 elementCv = fTCModel.getElementVariable(expressionCv, typeParameters[ta]);
                                                                        createWildcardConstraint(wildcardTypeArgument, argElementCv, elementCv);
                                                                                      }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  //e.g. Collection<E>: boolean addAll(Collection<? extends E> c)
  ConstraintVariable2  [[#variable95e5c5a0]]= getConstraintVariable( [[#variable95e5c500]]);
  CollectionElementVariable2 elementCv = fTCModel.getElementVariable( [[#variable95e5c5a0]], typeParameters[ta]);
  createWildcardConstraint(wildcardTypeArgument, argElementCv, elementCv);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95e5c5a0]]
createdTypeCv 
12[[#95e5c5a0]]
expressionCv 
21[[#95e5c500]]
createdType 
22[[#95e5c500]]
receiver