CloneSet4361


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4250.969switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1465
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
24182
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
Clone Instance
1
Line Count
4
Source Line
65
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java

                    case (T_byte << 4) + T_int:            return ByteConstant.fromValue((byte) this.intValue());

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


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

                    case (T_char << 4) + T_int:            return CharConstant.fromValue((char) this.intValue());

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


Clone AbstractionParameter Count: 5Parameter Bindings

case ( [[#variable52f4d680]] << 4) + T_int:
  return [[#variable52f4d5e0]].fromValue(( [[#variable52f4d540]]) this.intValue());
//          case (T_long<<4)+T_undefined         : return NotAConstant;   
//          case (T_int<<4)+T_undefined          : return NotAConstant;   
case ( [[#variable52f4d4e0]] << 4) + T_byte:
  return [[#variablea52669c0]].fromValue(this.byteValue());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52f4d680]]
T_byte 
12[[#52f4d680]]
T_char 
21[[#52f4d5e0]]
ByteConstant 
22[[#52f4d5e0]]
CharConstant 
31[[#52f4d540]]
byte 
32[[#52f4d540]]
char 
41[[#52f4d4e0]]
T_long 
42[[#52f4d4e0]]
T_int 
51[[#a52669c0]]
LongConstant 
52[[#a52669c0]]
IntConstant