Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
24 | 5 | 4 | 0.958 | class_body_declarations[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 24 | 28 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ByteConstant.java |
2 | 25 | 30 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CharConstant.java |
3 | 31 | 67 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/IntConstant.java |
4 | 24 | 33 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/LongConstant.java |
5 | 24 | 28 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ShortConstant.java |
| ||||
public double doubleValue() { return value; // implicit cast to return type } public float floatValue() { return value; // implicit cast to return type } public int intValue() { return value; // implicit cast to return type } public long longValue() { return value; // implicit cast to return type } public short shortValue() { return value; // implicit cast to return type } public String stringValue() { //spec 15.17.11 return String.valueOf(this.value); } public String toString() { return "(byte)" + value; } //$NON-NLS-1$ public int typeID() { return T_byte; } |
| ||||
public double doubleValue() { return value; // implicit cast to return type } public float floatValue() { return value; // implicit cast to return type } public int intValue() { return value; // implicit cast to return type } public long longValue() { return value; // implicit cast to return type } public short shortValue() { return (short) value; } public String stringValue() { //spec 15.17.11 return String.valueOf(this.value); } public String toString() { return "(char)" + value; //$NON-NLS-1$ } public int typeID() { return T_char; } |
| ||||
public double doubleValue() { return value; // implicit cast to return type } public float floatValue() { return value; // implicit cast to return type } public int intValue() { return value; } public long longValue() { return value; // implicit cast to return type } public short shortValue() { return (short) value; } public String stringValue() { //spec 15.17.11 return String.valueOf(this.value); } public String toString() { return "(int)" + value; //$NON-NLS-1$ } public int typeID() { return T_int; } |
| ||||
public double doubleValue() { return value; // implicit cast to return type } public float floatValue() { return value; // implicit cast to return type } public int intValue() { return (int) value; } public long longValue() { return value; } public short shortValue() { return (short) value; } public String stringValue() { //spec 15.17.11 return String.valueOf(this.value); } public String toString() { return "(long)" + value; } //$NON-NLS-1$ public int typeID() { return T_long; } |
| ||||
public double doubleValue() { return value; // implicit cast to return type } public float floatValue() { return value; // implicit cast to return type } public int intValue() { return value; // implicit cast to return type } public long longValue() { return value; // implicit cast to return type } public short shortValue() { return value; } public String stringValue() { //spec 15.17.11 return String.valueOf(this.value); } public String toString() { return "(short)" + value; } //$NON-NLS-1$ public int typeID() { return T_short; } |
| |||
public double doubleValue() { return value; // implicit cast to return type } public float floatValue() { return value; // implicit cast to return type } public int intValue() { return [[#variablebb10d340]]; // implicit cast to return type } public long longValue() { return value; // implicit cast to return type } public short shortValue() { return [[#variableb3bbe240]]; // implicit cast to return type } public String stringValue() { //spec 15.17.11 return String.valueOf(this.value); } public String toString() { return [[#variablebb10d380]] + value; //$NON-NLS-1$ } //$NON-NLS-1$ public int typeID() { return [[#variablebb10d3a0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bb10d340]] | value |
1 | 2 | [[#bb10d340]] | value |
1 | 3 | [[#bb10d340]] | value |
1 | 4 | [[#bb10d340]] | (int) value |
1 | 5 | [[#bb10d340]] | value |
2 | 1 | [[#b3bbe240]] | value |
2 | 2 | [[#b3bbe240]] | (short) value |
2 | 3 | [[#b3bbe240]] | (short) value |
2 | 4 | [[#b3bbe240]] | (short) value |
2 | 5 | [[#b3bbe240]] | value |
3 | 1 | [[#bb10d380]] | "(byte)" |
3 | 2 | [[#bb10d380]] | "(char)" |
3 | 3 | [[#bb10d380]] | "(int)" |
3 | 4 | [[#bb10d380]] | "(long)" |
3 | 5 | [[#bb10d380]] | "(short)" |
4 | 1 | [[#bb10d3a0]] | T_byte |
4 | 2 | [[#bb10d3a0]] | T_char |
4 | 3 | [[#bb10d3a0]] | T_int |
4 | 4 | [[#bb10d3a0]] | T_long |
4 | 5 | [[#bb10d3a0]] | T_short |