CloneSet4888


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2330.958class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1229
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/AndOperator.java
2250
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/AndOperator.java
3257
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/AndOperator.java
Clone Instance
1
Line Count
2
Source Line
29
Source File
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();
        }


Clone Instance
2
Line Count
2
Source Line
50
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/AndOperator.java

        /*
         * @see BinaryOperator#getIntResult(IJavaValue, IJavaValue)
         */
        protected int getIntResult(IJavaValue leftOperand, IJavaValue rightOperand) {
                return ((IJavaPrimitiveValue) leftOperand).getIntValue()&  ((IJavaPrimitiveValue) rightOperand).getIntValue();
        }


Clone Instance
3
Line Count
2
Source Line
57
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/AndOperator.java

        /*
         * @see BinaryOperator#getLongResult(IJavaValue, IJavaValue)
         */
        protected long getLongResult(IJavaValue leftOperand, IJavaValue rightOperand) {
                return ((IJavaPrimitiveValue) leftOperand).getLongValue()&  ((IJavaPrimitiveValue) rightOperand).getLongValue();
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d1b09a0]]
boolean 
12[[#7d1b09a0]]
int 
13[[#7d1b09a0]]
long 
21[[#7d1b0940]]
getBooleanResult 
22[[#7d1b0940]]
getIntResult 
23[[#7d1b0940]]
getLongResult 
31[[#7d1b08a0]]
getBooleanValue 
32[[#7d1b08a0]]
getIntValue 
33[[#7d1b08a0]]
getLongValue