Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.981 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 652 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java |
2 | 5 | 657 | 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); } |
| ||||
{ //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); } |
| |||
{ //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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#95e5c5a0]] | createdTypeCv |
1 | 2 | [[#95e5c5a0]] | expressionCv |
2 | 1 | [[#95e5c500]] | createdType |
2 | 2 | [[#95e5c500]] | receiver |