CloneSet561


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24540.958class_body_declarations[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12428
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ByteConstant.java
22530
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CharConstant.java
33167
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/IntConstant.java
42433
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/LongConstant.java
52428
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ShortConstant.java
Clone Instance
1
Line Count
24
Source Line
28
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ByteConstant.java

public double doubleValue() {
        return value; // implicit cast to return type
}

public float floatValue() {
        return value; // implicit cast to return type
}

public int intValue() {
        return value; // implicit cast to return type
}

public long longValue() {
        return value; // implicit cast to return type
}

public short shortValue() {
        return value; // implicit cast to return type
}

public String stringValue() {
        //spec 15.17.11
        return String.valueOf(this.value);
}

public String toString() {

        return "(byte)" + value;
}                                   //$NON-NLS-1$

public int typeID() {
        return T_byte;
}


Clone Instance
2
Line Count
25
Source Line
30
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CharConstant.java

        public double doubleValue() {
                return value; // implicit cast to return type
        }

        public float floatValue() {
                return value; // implicit cast to return type
        }

        public int intValue() {
                return value; // implicit cast to return type
        }

        public long longValue() {
                return value; // implicit cast to return type
        }

        public short shortValue() {
                return (short) value;
        }

        public String stringValue() {
                //spec 15.17.11
                return String.valueOf(this.value);
        }

        public String toString() {

                return "(char)" + value; //$NON-NLS-1$
        }

        public int typeID() {
                return T_char;
        }


Clone Instance
3
Line Count
31
Source Line
67
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/IntConstant.java

        public double doubleValue() {
                return value; // implicit cast to return type
        }

        public float floatValue() {
                return value; // implicit cast to return type
        }

        public int intValue() {
                return value;
        }

        public long longValue() {
                return value; // implicit cast to return type
        }

        public short shortValue() {
                return (short) value;
        }

        public String stringValue() {
                //spec 15.17.11
                return String.valueOf(this.value);
        }

        public String toString() {
                return "(int)" + value; //$NON-NLS-1$
        }

        public int typeID() {
                return T_int;
        }


Clone Instance
4
Line Count
24
Source Line
33
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/LongConstant.java

public double doubleValue() {
        return value; // implicit cast to return type
}

public float floatValue() {
        return value; // implicit cast to return type
}

public int intValue() {
        return (int) value;
}

public long longValue() {
        return value;
}

public short shortValue() {
        return (short) value;
}

public String stringValue() {
        //spec 15.17.11
        return String.valueOf(this.value);
}

public String toString() {

        return "(long)" + value;
}                                   //$NON-NLS-1$

public int typeID() {
        return T_long;
}


Clone Instance
5
Line Count
24
Source Line
28
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ShortConstant.java

public double doubleValue() {
        return value; // implicit cast to return type
}

public float floatValue() {
        return value; // implicit cast to return type
}

public int intValue() {
        return value; // implicit cast to return type
}

public long longValue() {
        return value; // implicit cast to return type
}

public short shortValue() {
        return value;
}

public String stringValue() {
        //spec 15.17.11
        return String.valueOf(this.value);
}

public String toString() {

        return "(short)" + value;
}                                    //$NON-NLS-1$

public int typeID() {
        return T_short;
}


Clone AbstractionParameter Count: 4Parameter Bindings

public double doubleValue() {
  return value; // implicit cast to return type
}

public float floatValue() {
  return value; // implicit cast to return type
}

public int intValue() {
  return [[#variablebb10d340]]; // implicit cast to return type
}

public long longValue() {
  return value; // implicit cast to return type
}

public short shortValue() {
  return [[#variableb3bbe240]]; // implicit cast to return type
}

public String stringValue() {
  //spec 15.17.11
  return String.valueOf(this.value);
}

public String toString() {
  return [[#variablebb10d380]] + value; //$NON-NLS-1$
} //$NON-NLS-1$

public int typeID() {
  return [[#variablebb10d3a0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb10d340]]
value 
12[[#bb10d340]]
value 
13[[#bb10d340]]
value 
14[[#bb10d340]]
(int) value 
15[[#bb10d340]]
value 
21[[#b3bbe240]]
value 
22[[#b3bbe240]]
(short) value 
23[[#b3bbe240]]
(short) value 
24[[#b3bbe240]]
(short) value 
25[[#b3bbe240]]
value 
31[[#bb10d380]]
"(byte)" 
32[[#bb10d380]]
"(char)" 
33[[#bb10d380]]
"(int)" 
34[[#bb10d380]]
"(long)" 
35[[#bb10d380]]
"(short)" 
41[[#bb10d3a0]]
T_byte 
42[[#bb10d3a0]]
T_char 
43[[#bb10d3a0]]
T_int 
44[[#bb10d3a0]]
T_long 
45[[#bb10d3a0]]
T_short