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.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 29 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/AndOperator.java |
2 | 2 | 50 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/AndOperator.java |
3 | 2 | 57 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/AndOperator.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 [[#variable7d1b09a0]] [[#variable7d1b0940]](IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand). [[#variable7d1b08a0]]()&((IJavaPrimitiveValue) rightOperand). [[#variable7d1b08a0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d1b09a0]] | boolean |
1 | 2 | [[#7d1b09a0]] | int |
1 | 3 | [[#7d1b09a0]] | long |
2 | 1 | [[#7d1b0940]] | getBooleanResult |
2 | 2 | [[#7d1b0940]] | getIntResult |
2 | 3 | [[#7d1b0940]] | getLongResult |
3 | 1 | [[#7d1b08a0]] | getBooleanValue |
3 | 2 | [[#7d1b08a0]] | getIntValue |
3 | 3 | [[#7d1b08a0]] | getLongValue |