CloneSet3445


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.963conditional_or_expression
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15172
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ArrayInitializer.java
25126
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CaseStatement.java
Clone Instance
1
Line Count
5
Source Line
172
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ArrayInitializer.java

                                           scope.isBoxingCompatibleWith(exprType, elementType) ||
                                                                           (exprType.isBaseType()  // narrowing then boxing ?
                                                                            &&             scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5 // autoboxing
                                                                            &&             !elementType.isBaseType() &&
                                                                                           expression.isConstantValueOfTypeAssignableToType(exprType, scope.environment().computeBoxingType(elementType)))


Clone Instance
2
Line Count
5
Source Line
126
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CaseStatement.java

                           scope.isBoxingCompatibleWith(caseType, switchExpressionType) ||
                                                   (caseType.isBaseType()  // narrowing then boxing ?
                                                    &&             scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5 // autoboxing
                                                    &&             !switchExpressionType.isBaseType() &&
                                                                   constantExpression.isConstantValueOfTypeAssignableToType(caseType, scope.environment().computeBoxingType(switchExpressionType)))


Clone AbstractionParameter Count: 3Parameter Bindings

scope.isBoxingCompatibleWith( [[#variable753d8440]],  [[#variablea3571f40]]) || ( [[#variable753d8440]].isBaseType() // narrowing then boxing ?
                                                                                 && scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5 // autoboxing
                                                                                 && ! [[#variablea3571f40]].isBaseType() && [[#variable753d8c00]].isConstantValueOfTypeAssignableToType( [[#variable753d8440]], scope.environment().computeBoxingType( [[#variablea3571f40]])))
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#753d8440]]
exprType 
12[[#753d8440]]
caseType 
21[[#a3571f40]]
elementType 
22[[#a3571f40]]
switchExpressionType 
31[[#753d8c00]]
expression 
32[[#753d8c00]]
constantExpression