Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
22 | 2 | 0 | 1.000 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 22 | 30 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PostfixMinusMinusOperator.java |
2 | 22 | 29 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PrefixMinusMinusOperator.java |
| ||||
switch (fVariableTypeId) { case T_byte: variable.setValue(newValue((byte) (((IJavaPrimitiveValue) variable.getValue()).getByteValue() - 1))); break; case T_short: variable.setValue(newValue((short) (((IJavaPrimitiveValue) variable.getValue()).getShortValue() - 1))); break; case T_char: variable.setValue(newValue((char) (((IJavaPrimitiveValue) variable.getValue()).getCharValue() - 1))); break; case T_int: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getIntValue() - 1)); break; case T_long: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getLongValue() - 1)); break; case T_float: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getFloatValue() - 1)); break; case T_double: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getDoubleValue() - 1)); break; } |
| ||||
switch (fVariableTypeId) { case T_byte: variable.setValue(newValue((byte) (((IJavaPrimitiveValue) variable.getValue()).getByteValue() - 1))); break; case T_short: variable.setValue(newValue((short) (((IJavaPrimitiveValue) variable.getValue()).getShortValue() - 1))); break; case T_char: variable.setValue(newValue((char) (((IJavaPrimitiveValue) variable.getValue()).getCharValue() - 1))); break; case T_int: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getIntValue() - 1)); break; case T_long: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getLongValue() - 1)); break; case T_float: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getFloatValue() - 1)); break; case T_double: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getDoubleValue() - 1)); break; } |
| |||
switch (fVariableTypeId) { case T_byte: variable.setValue(newValue((byte) (((IJavaPrimitiveValue) variable.getValue()).getByteValue() - 1))); break; case T_short: variable.setValue(newValue((short) (((IJavaPrimitiveValue) variable.getValue()).getShortValue() - 1))); break; case T_char: variable.setValue(newValue((char) (((IJavaPrimitiveValue) variable.getValue()).getCharValue() - 1))); break; case T_int: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getIntValue() - 1)); break; case T_long: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getLongValue() - 1)); break; case T_float: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getFloatValue() - 1)); break; case T_double: variable.setValue(newValue(((IJavaPrimitiveValue) variable.getValue()).getDoubleValue() - 1)); break; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |