CloneSet89


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10720.984switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110424
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
211434
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
311445
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
411456
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
511467
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
611478
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
711489
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
Clone Instance
1
Line Count
10
Source Line
424
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                        case T_char:
                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.charValue() == right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.charValue() == right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.charValue() == right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.charValue() == right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.charValue() == right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.charValue() == right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.charValue() == right.longValue());
                                      }
                        break;


Clone Instance
2
Line Count
11
Source Line
434
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                        case T_float:
                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.floatValue() == right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.floatValue() == right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.floatValue() == right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.floatValue() == right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.floatValue() == right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.floatValue() == right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.floatValue() == right.longValue());
                                      }
                        break;


Clone Instance
3
Line Count
11
Source Line
445
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                        case T_double:
                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.doubleValue() == right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.doubleValue() == right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.doubleValue() == right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.doubleValue() == right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.doubleValue() == right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.doubleValue() == right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.doubleValue() == right.longValue());
                                      }
                        break;


Clone Instance
4
Line Count
11
Source Line
456
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                        case T_byte:
                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.byteValue() == right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.byteValue() == right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.byteValue() == right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.byteValue() == right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.byteValue() == right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.byteValue() == right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.byteValue() == right.longValue());
                                      }
                        break;


Clone Instance
5
Line Count
11
Source Line
467
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                        case T_short:
                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.shortValue() == right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.shortValue() == right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.shortValue() == right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.shortValue() == right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.shortValue() == right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.shortValue() == right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.shortValue() == right.longValue());
                                      }
                        break;


Clone Instance
6
Line Count
11
Source Line
478
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                        case T_int:
                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.intValue() == right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.intValue() == right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.intValue() == right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.intValue() == right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.intValue() == right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.intValue() == right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.intValue() == right.longValue());
                                      }
                        break;


Clone Instance
7
Line Count
11
Source Line
489
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                        case T_long:
                                switch (rightId) {
                                        case T_char:    return BooleanConstant.fromValue(left.longValue() == right.charValue());
                                        case T_float:   return BooleanConstant.fromValue(left.longValue() == right.floatValue());
                                        case T_double:  return BooleanConstant.fromValue(left.longValue() == right.doubleValue());
                                        case T_byte:    return BooleanConstant.fromValue(left.longValue() == right.byteValue());
                                        case T_short:   return BooleanConstant.fromValue(left.longValue() == right.shortValue());
                                        case T_int:             return BooleanConstant.fromValue(left.longValue() == right.intValue());
                                        case T_long:    return BooleanConstant.fromValue(left.longValue() == right.longValue());
                                      }
                        break;


Clone AbstractionParameter Count: 2Parameter Bindings

case [[#variablea0bac000]]:
  switch (rightId) {
    case T_char:
      return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.charValue());
    case T_float:
      return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.floatValue());
    case T_double:
      return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.doubleValue());
    case T_byte:
      return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.byteValue());
    case T_short:
      return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.shortValue());
    case T_int:
      return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.intValue());
    case T_long:
      return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.longValue());
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0bac000]]
T_char 
12[[#a0bac000]]
T_float 
13[[#a0bac000]]
T_double 
14[[#a0bac000]]
T_byte 
15[[#a0bac000]]
T_short 
16[[#a0bac000]]
T_int 
17[[#a0bac000]]
T_long 
21[[#a42e9ea0]]
charValue 
22[[#a42e9ea0]]
floatValue 
23[[#a42e9ea0]]
doubleValue 
24[[#a42e9ea0]]
byteValue 
25[[#a42e9ea0]]
shortValue 
26[[#a42e9ea0]]
intValue 
27[[#a42e9ea0]]
longValue