| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 16 | 3 | 1 | 0.981 | switch_groups[8] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 16 | 42 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePairBinding.java |
| 2 | 16 | 71 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableBinding.java |
| 3 | 16 | 70 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/Member.java |
| ||||
case TypeIds.T_byte:
return new Byte(constant.byteValue());
case TypeIds.T_char:
return new Character(constant.charValue());
case TypeIds.T_double:
return new Double(constant.doubleValue());
case TypeIds.T_float:
return new Float(constant.floatValue());
case TypeIds.T_int:
return new Integer(constant.intValue());
case TypeIds.T_long:
return new Long(constant.longValue());
case TypeIds.T_short:
return new Short(constant.shortValue());
case TypeIds.T_JavaLangString:
return constant.stringValue();
|
| ||||
case TypeIds.T_byte:
return new Byte(c.byteValue());
case TypeIds.T_char:
return new Character(c.charValue());
case TypeIds.T_double:
return new Double(c.doubleValue());
case TypeIds.T_float:
return new Float(c.floatValue());
case TypeIds.T_int:
return new Integer(c.intValue());
case TypeIds.T_long:
return new Long(c.longValue());
case TypeIds.T_short:
return new Short(c.shortValue());
case TypeIds.T_JavaLangString:
return c.stringValue();
|
| ||||
case TypeIds.T_byte:
return new Byte(constant.byteValue());
case TypeIds.T_char:
return new Character(constant.charValue());
case TypeIds.T_double:
return new Double(constant.doubleValue());
case TypeIds.T_float:
return new Float(constant.floatValue());
case TypeIds.T_int:
return new Integer(constant.intValue());
case TypeIds.T_long:
return new Long(constant.longValue());
case TypeIds.T_short:
return new Short(constant.shortValue());
case TypeIds.T_JavaLangString:
return constant.stringValue();
|
| |||
case TypeIds.T_byte: return new Byte( [[#variable9a4516a0]].byteValue()); case TypeIds.T_char: return new Character( [[#variable9a4516a0]].charValue()); case TypeIds.T_double: return new Double( [[#variable9a4516a0]].doubleValue()); case TypeIds.T_float: return new Float( [[#variable9a4516a0]].floatValue()); case TypeIds.T_int: return new Integer( [[#variable9a4516a0]].intValue()); case TypeIds.T_long: return new Long( [[#variable9a4516a0]].longValue()); case TypeIds.T_short: return new Short( [[#variable9a4516a0]].shortValue()); case TypeIds.T_JavaLangString: return [[#variable9a4516a0]].stringValue(); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9a4516a0]] | constant |
| 1 | 2 | [[#9a4516a0]] | c |
| 1 | 3 | [[#9a4516a0]] | constant |