Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 5 | 3 | 0.963 | switch_groups[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 61 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
2 | 2 | 74 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
3 | 2 | 87 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
4 | 2 | 178 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
5 | 2 | 191 | 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()); |
| ||||
// 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()); |
| ||||
// 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()); |
| ||||
// 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()); |
| ||||
// 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()); |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1492c00]] | T_byte |
1 | 2 | [[#b1492c00]] | T_long |
1 | 3 | [[#b1492c00]] | T_short |
1 | 4 | [[#b1492c00]] | T_char |
1 | 5 | [[#b1492c00]] | T_int |
2 | 1 | [[#b1492b00]] | ByteConstant |
2 | 2 | [[#b1492b00]] | LongConstant |
2 | 3 | [[#b1492b00]] | ShortConstant |
2 | 4 | [[#b1492b00]] | CharConstant |
2 | 5 | [[#b1492b00]] | IntConstant |
3 | 1 | [[#b14929a0]] | byte |
3 | 2 | [[#b14929a0]] | long |
3 | 3 | [[#b14929a0]] | short |
3 | 4 | [[#b14929a0]] | char |
3 | 5 | [[#b14929a0]] | int |