CloneSet3565


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
1236
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MinusOperator.java
2243
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MinusOperator.java
3250
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MinusOperator.java
4257
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MinusOperator.java
Clone Instance
1
Line Count
2
Source Line
36
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MinusOperator.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
43
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MinusOperator.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
50
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MinusOperator.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
57
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MinusOperator.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 [[#variable5b26cbc0]]  [[#variable5b26cb20]](IJavaValue leftOperand, IJavaValue rightOperand) {
  return ((IJavaPrimitiveValue) leftOperand). [[#variable5b26ca80]]() - ((IJavaPrimitiveValue) rightOperand). [[#variable5b26ca80]]();
}
 

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