| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 5 | 2 | 0.971 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 1409 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| 2 | 6 | 1418 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| 3 | 6 | 1427 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| 4 | 6 | 1436 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| 5 | 6 | 1445 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| ||||
switch (rightId) {
case T_char: return IntConstant.fromValue(left.charValue() >>> right.charValue());
case T_byte: return IntConstant.fromValue(left.charValue() >>> right.byteValue());
case T_short: return IntConstant.fromValue(left.charValue() >>> right.shortValue());
case T_int: return IntConstant.fromValue(left.charValue() >>> right.intValue());
case T_long: return IntConstant.fromValue(left.charValue() >>> right.longValue());
}
|
| ||||
switch (rightId) {
case T_char: return IntConstant.fromValue(left.byteValue() >>> right.charValue());
case T_byte: return IntConstant.fromValue(left.byteValue() >>> right.byteValue());
case T_short: return IntConstant.fromValue(left.byteValue() >>> right.shortValue());
case T_int: return IntConstant.fromValue(left.byteValue() >>> right.intValue());
case T_long: return IntConstant.fromValue(left.byteValue() >>> right.longValue());
}
|
| ||||
switch (rightId) {
case T_char: return IntConstant.fromValue(left.shortValue() >>> right.charValue());
case T_byte: return IntConstant.fromValue(left.shortValue() >>> right.byteValue());
case T_short: return IntConstant.fromValue(left.shortValue() >>> right.shortValue());
case T_int: return IntConstant.fromValue(left.shortValue() >>> right.intValue());
case T_long: return IntConstant.fromValue(left.shortValue() >>> right.longValue());
}
|
| ||||
switch (rightId) {
case T_char: return IntConstant.fromValue(left.intValue() >>> right.charValue());
case T_byte: return IntConstant.fromValue(left.intValue() >>> right.byteValue());
case T_short: return IntConstant.fromValue(left.intValue() >>> right.shortValue());
case T_int: return IntConstant.fromValue(left.intValue() >>> right.intValue());
case T_long: return IntConstant.fromValue(left.intValue() >>> right.longValue());
}
|
| ||||
switch (rightId) {
case T_char: return LongConstant.fromValue(left.longValue() >>> right.charValue());
case T_byte: return LongConstant.fromValue(left.longValue() >>> right.byteValue());
case T_short: return LongConstant.fromValue(left.longValue() >>> right.shortValue());
case T_int: return LongConstant.fromValue(left.longValue() >>> right.intValue());
case T_long: return LongConstant.fromValue(left.longValue() >>> right.longValue());
}
|
| |||
switch (rightId) {
case T_char:
return [[#variableb50c9200]].fromValue(left. [[#variableb50c91a0]]() >>> right.charValue());
case T_byte:
return [[#variableb50c9200]].fromValue(left. [[#variableb50c91a0]]() >>> right.byteValue());
case T_short:
return [[#variableb50c9200]].fromValue(left. [[#variableb50c91a0]]() >>> right.shortValue());
case T_int:
return [[#variableb50c9200]].fromValue(left. [[#variableb50c91a0]]() >>> right.intValue());
case T_long:
return [[#variableb50c9200]].fromValue(left. [[#variableb50c91a0]]() >>> right.longValue());
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b50c9200]] | IntConstant |
| 1 | 2 | [[#b50c9200]] | IntConstant |
| 1 | 3 | [[#b50c9200]] | IntConstant |
| 1 | 4 | [[#b50c9200]] | IntConstant |
| 1 | 5 | [[#b50c9200]] | LongConstant |
| 2 | 1 | [[#b50c91a0]] | charValue |
| 2 | 2 | [[#b50c91a0]] | byteValue |
| 2 | 3 | [[#b50c91a0]] | shortValue |
| 2 | 4 | [[#b50c91a0]] | intValue |
| 2 | 5 | [[#b50c91a0]] | longValue |