CloneSet1113


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2530.963switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1261
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
2274
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
3287
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
42178
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
52191
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
Clone Instance
1
Line Count
2
Source Line
61
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

        //          case (T_byte<<4)+T_void              : return NotAConstant;   
        //          case (T_byte<<4)+T_String            : return NotAConstant;   
        //          case (T_byte<<4)+T_Object            : return NotAConstant;   
                    case (T_byte << 4) + T_double:         return ByteConstant.fromValue((byte) this.doubleValue());
                    case (T_byte << 4) + T_float:          return ByteConstant.fromValue((byte) this.floatValue());


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

        //          case (T_long<<4)+T_void              : return NotAConstant;   
        //          case (T_long<<4)+T_String            : return NotAConstant;   
        //          case (T_long<<4)+T_Object            : return NotAConstant;   
                    case (T_long << 4) + T_double:         return LongConstant.fromValue((long) this.doubleValue());
                    case (T_long << 4) + T_float:          return LongConstant.fromValue((long) this.floatValue());


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

        //          case (T_short<<4)+T_void             : return NotAConstant;   
        //          case (T_short<<4)+T_String           : return NotAConstant;   
        //          case (T_short<<4)+T_Object           : return NotAConstant;   
                    case (T_short << 4) + T_double:        return ShortConstant.fromValue((short) this.doubleValue());
                    case (T_short << 4) + T_float:         return ShortConstant.fromValue((short) this.floatValue());


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

        //          case (T_char<<4)+T_void              : return NotAConstant;   
        //          case (T_char<<4)+T_String            : return NotAConstant;   
        //          case (T_char<<4)+T_Object            : return NotAConstant;   
                    case (T_char << 4) + T_double:         return CharConstant.fromValue((char) this.doubleValue());
                    case (T_char << 4) + T_float:          return CharConstant.fromValue((char) this.floatValue());


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

        //          case (T_int<<4)+T_void               : return NotAConstant;   
        //          case (T_int<<4)+T_String             : return NotAConstant;   
        //          case (T_int<<4)+T_Object             : return NotAConstant;   
                    case (T_int << 4) + T_double:          return IntConstant.fromValue((int) this.doubleValue());
                    case (T_int << 4) + T_float:           return IntConstant.fromValue((int) this.floatValue());


Clone AbstractionParameter Count: 3Parameter Bindings

//          case (T_byte<<4)+T_void              : return NotAConstant;   
//          case (T_byte<<4)+T_String            : return NotAConstant;   
//          case (T_byte<<4)+T_Object            : return NotAConstant;   
//          case (T_long<<4)+T_void              : return NotAConstant;   
//          case (T_long<<4)+T_String            : return NotAConstant;   
//          case (T_long<<4)+T_Object            : return NotAConstant;   
//          case (T_short<<4)+T_void             : return NotAConstant;   
//          case (T_short<<4)+T_String           : return NotAConstant;   
//          case (T_short<<4)+T_Object           : return NotAConstant;   
//          case (T_char<<4)+T_void              : return NotAConstant;   
//          case (T_char<<4)+T_String            : return NotAConstant;   
//          case (T_char<<4)+T_Object            : return NotAConstant;   
//          case (T_int<<4)+T_void               : return NotAConstant;   
//          case (T_int<<4)+T_String             : return NotAConstant;   
//          case (T_int<<4)+T_Object             : return NotAConstant;   
case ( [[#variableb1492c00]] << 4) + T_double:
  return [[#variableb1492b00]].fromValue(( [[#variableb14929a0]]) this.doubleValue());
case ( [[#variableb1492c00]] << 4) + T_float:
  return [[#variableb1492b00]].fromValue(( [[#variableb14929a0]]) this.floatValue());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1492c00]]
T_byte 
12[[#b1492c00]]
T_long 
13[[#b1492c00]]
T_short 
14[[#b1492c00]]
T_char 
15[[#b1492c00]]
T_int 
21[[#b1492b00]]
ByteConstant 
22[[#b1492b00]]
LongConstant 
23[[#b1492b00]]
ShortConstant 
24[[#b1492b00]]
CharConstant 
25[[#b1492b00]]
IntConstant 
31[[#b14929a0]]
byte 
32[[#b14929a0]]
long 
33[[#b14929a0]]
short 
34[[#b14929a0]]
char 
35[[#b14929a0]]
int