CloneSet4780


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
1229
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/OrOperator.java
2250
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/OrOperator.java
3257
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/OrOperator.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/OrOperator.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/OrOperator.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/OrOperator.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 [[#variable62a6cac0]]  [[#variable62a6ca40]](IJavaValue leftOperand, IJavaValue rightOperand) {
  return ((IJavaPrimitiveValue) leftOperand). [[#variable62a6c9c0]]()|((IJavaPrimitiveValue) rightOperand). [[#variable62a6c9c0]]();
}
 

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