Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 3 | 0.959 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 28 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/XorOperator.java |
2 | 2 | 49 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/XorOperator.java |
3 | 2 | 56 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/XorOperator.java |
| ||||
/* * @see BinaryOperator#getBooleanResult(IJavaValue, IJavaValue) */ protected boolean getBooleanResult(IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand).getBooleanValue()^ ((IJavaPrimitiveValue) rightOperand).getBooleanValue(); } |
| ||||
/* * @see BinaryOperator#getIntResult(IJavaValue, IJavaValue) */ protected int getIntResult(IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand).getIntValue()^ ((IJavaPrimitiveValue) rightOperand).getIntValue(); } |
| ||||
/* * @see BinaryOperator#getLongResult(IJavaValue, IJavaValue) */ protected long getLongResult(IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand).getLongValue()^ ((IJavaPrimitiveValue) rightOperand).getLongValue(); } |
| |||
/* * @see BinaryOperator#getBooleanResult(IJavaValue, IJavaValue) */ /* * @see BinaryOperator#getIntResult(IJavaValue, IJavaValue) */ /* * @see BinaryOperator#getLongResult(IJavaValue, IJavaValue) */ protected [[#variable62cf0a60]] [[#variable62cf0a00]](IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand). [[#variable62cf0980]]()^((IJavaPrimitiveValue) rightOperand). [[#variable62cf0980]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62cf0a60]] | boolean |
1 | 2 | [[#62cf0a60]] | int |
1 | 3 | [[#62cf0a60]] | long |
2 | 1 | [[#62cf0a00]] | getBooleanResult |
2 | 2 | [[#62cf0a00]] | getIntResult |
2 | 3 | [[#62cf0a00]] | getLongResult |
3 | 1 | [[#62cf0980]] | getBooleanValue |
3 | 2 | [[#62cf0980]] | getIntValue |
3 | 3 | [[#62cf0980]] | getLongValue |