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.973 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 156 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java |
2 | 2 | 547 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java |
| ||||
// ITypeBinding genericVariableType= declaredVariableType.getTypeDeclaration(); ConstraintVariable2 returnTypeCv = fTCModel.makeParameterizedTypeVariable(declaredVariableType); setConstraintVariable(node, returnTypeCv); |
| ||||
ConstraintVariable2 returnTypeCv = fTCModel.makeArrayTypeVariable(declaredReturnType); setConstraintVariable(node, returnTypeCv); |
| |||
// ITypeBinding genericVariableType= declaredVariableType.getTypeDeclaration(); ConstraintVariable2 returnTypeCv = fTCModel. [[#variable986b81c0]]( [[#variable986b82c0]]); setConstraintVariable(node, returnTypeCv); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#986b81c0]] | makeParameterizedTypeVariable |
1 | 2 | [[#986b81c0]] | makeArrayTypeVariable |
2 | 1 | [[#986b82c0]] | declaredVariableType |
2 | 2 | [[#986b82c0]] | declaredReturnType |