CloneSet4850


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


Clone Instance
2
Line Count
2
Source Line
49
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/XorOperator.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
56
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/XorOperator.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 [[#variable62cf0a60]]  [[#variable62cf0a00]](IJavaValue leftOperand, IJavaValue rightOperand) {
  return ((IJavaPrimitiveValue) leftOperand). [[#variable62cf0980]]()^((IJavaPrimitiveValue) rightOperand). [[#variable62cf0980]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62cf0a60]]
boolean 
12[[#62cf0a60]]
int 
13[[#62cf0a60]]
long 
21[[#62cf0a00]]
getBooleanResult 
22[[#62cf0a00]]
getIntResult 
23[[#62cf0a00]]
getLongResult 
31[[#62cf0980]]
getBooleanValue 
32[[#62cf0980]]
getIntValue 
33[[#62cf0980]]
getLongValue