CloneSet3564


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
1280
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.java
2287
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.java
3294
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.java
42101
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.java
Clone Instance
1
Line Count
2
Source Line
80
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.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
87
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.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
94
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.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
101
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.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 [[#variable9b207940]]  [[#variable9b2078c0]](IJavaValue leftOperand, IJavaValue rightOperand) {
  return ((IJavaPrimitiveValue) leftOperand). [[#variable9b2077e0]]() + ((IJavaPrimitiveValue) rightOperand). [[#variable9b2077e0]]();
}
 

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