CloneSet2577


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.974switch_groups[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1577
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
25142
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
Clone Instance
1
Line Count
5
Source Line
77
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

        //          case (T_long<<4)+T_boolean           : return NotAConstant;   
                    case (T_long << 4) + T_char:           return LongConstant.fromValue(this.charValue());
                    case (T_long << 4) + T_int:            return LongConstant.fromValue(this.intValue());

        //          case (T_short<<4)+T_undefined        : return NotAConstant;   
                    case (T_short << 4) + T_byte:          return ShortConstant.fromValue(this.byteValue());


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

        //          case (T_double<<4)+T_boolean                : return NotAConstant;   
                    case (T_double << 4) + T_char:                return DoubleConstant.fromValue(this.charValue());
                    case (T_double << 4) + T_int:                 return DoubleConstant.fromValue(this.intValue());

        //          case (T_float<<4)+T_undefined        : return NotAConstant;   
                    case (T_float << 4) + T_byte:          return FloatConstant.fromValue(this.byteValue());


Clone AbstractionParameter Count: 4Parameter Bindings

//          case (T_long<<4)+T_boolean           : return NotAConstant;   
//          case (T_double<<4)+T_boolean                : return NotAConstant;   
case ( [[#variable945e12c0]] << 4) + T_char:
  return [[#variable945e1260]].fromValue(this.charValue());
case ( [[#variable945e12c0]] << 4) + T_int:
  return [[#variable945e1260]].fromValue(this.intValue());
//          case (T_short<<4)+T_undefined        : return NotAConstant;   
//          case (T_float<<4)+T_undefined        : return NotAConstant;   
case ( [[#variable945e11a0]] << 4) + T_byte:
  return [[#variable945e1100]].fromValue(this.byteValue());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#945e12c0]]
T_long 
12[[#945e12c0]]
T_double 
21[[#945e1260]]
LongConstant 
22[[#945e1260]]
DoubleConstant 
31[[#945e11a0]]
T_short 
32[[#945e11a0]]
T_float 
41[[#945e1100]]
ShortConstant 
42[[#945e1100]]
FloatConstant