CloneSet2633


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5520.957class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1516
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ByteConstant.java
2617
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CharConstant.java
3717
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/DoubleConstant.java
4617
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/FloatConstant.java
5516
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ShortConstant.java
Clone Instance
1
Line Count
5
Source Line
16
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ByteConstant.java

public static Constant fromValue(byte value) {
        return new ByteConstant(value);
}

private ByteConstant(byte value) {
        this.value = value;
}


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

        public static Constant fromValue(char value) {
                return new CharConstant(value);
        }

        private CharConstant(char value) {
                this.value = value;
        }


Clone Instance
3
Line Count
7
Source Line
17
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/DoubleConstant.java

        public static Constant fromValue(double value) {

                return new DoubleConstant(value);
        }

        private DoubleConstant(double value) {
                this.value = value;
        }


Clone Instance
4
Line Count
6
Source Line
17
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/FloatConstant.java

        public static Constant fromValue(float value) {
                return new FloatConstant(value);
        }

        private FloatConstant(float value) {
                this.value = value;
        }


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

public static Constant fromValue(short value) {
        return new ShortConstant(value);
}

private ShortConstant(short value) {
        this.value = value;
}


Clone AbstractionParameter Count: 2Parameter Bindings

public static Constant fromValue( [[#variable9c354980]] value) {
  return new [[#variable9c3549a0]](value);
}

private [[#variable9c3549a0]]( [[#variable9c354980]] value) {
  this.value = value;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c354980]]
byte 
12[[#9c354980]]
char 
13[[#9c354980]]
double 
14[[#9c354980]]
float 
15[[#9c354980]]
short 
21[[#9c3549a0]]
ByteConstant 
22[[#9c3549a0]]
CharConstant 
23[[#9c3549a0]]
DoubleConstant 
24[[#9c3549a0]]
FloatConstant 
25[[#9c3549a0]]
ShortConstant