CloneSet3616


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2430.957class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1235
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.java
2242
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.java
3249
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.java
4256
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.java
Clone Instance
1
Line Count
2
Source Line
35
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.java

        /*
         * @see BinaryOperator#getDoubleResult(IJavaValue, IJavaValue)
         */
        protected double getDoubleResult(IJavaValue leftOperand, IJavaValue rightOperand) {
                return ((IJavaPrimitiveValue) leftOperand).getDoubleValue() * ((IJavaPrimitiveValue) rightOperand).getDoubleValue();
        }


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

        /*
         * @see BinaryOperator#getFloatResult(IJavaValue, IJavaValue)
         */
        protected float getFloatResult(IJavaValue leftOperand, IJavaValue rightOperand) {
                return ((IJavaPrimitiveValue) leftOperand).getFloatValue() * ((IJavaPrimitiveValue) rightOperand).getFloatValue();
        }


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

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


Clone Instance
4
Line Count
2
Source Line
56
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.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#getDoubleResult(IJavaValue, IJavaValue)
         */
/*
         * @see BinaryOperator#getFloatResult(IJavaValue, IJavaValue)
         */
/*
         * @see BinaryOperator#getIntResult(IJavaValue, IJavaValue)
         */
/*
         * @see BinaryOperator#getLongResult(IJavaValue, IJavaValue)
         */
protected [[#variable9ef766e0]]  [[#variable9ef766a0]](IJavaValue leftOperand, IJavaValue rightOperand) {
  return ((IJavaPrimitiveValue) leftOperand). [[#variable9ef76720]]() * ((IJavaPrimitiveValue) rightOperand). [[#variable9ef76720]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9ef766e0]]
double 
12[[#9ef766e0]]
float 
13[[#9ef766e0]]
int 
14[[#9ef766e0]]
long 
21[[#9ef766a0]]
getDoubleResult 
22[[#9ef766a0]]
getFloatResult 
23[[#9ef766a0]]
getIntResult 
24[[#9ef766a0]]
getLongResult 
31[[#9ef76720]]
getDoubleValue 
32[[#9ef76720]]
getFloatValue 
33[[#9ef76720]]
getIntValue 
34[[#9ef76720]]
getLongValue