Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 5 | 2 | 0.957 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 16 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ByteConstant.java |
2 | 6 | 17 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CharConstant.java |
3 | 7 | 17 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/DoubleConstant.java |
4 | 6 | 17 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/FloatConstant.java |
5 | 5 | 16 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/ShortConstant.java |
| ||||
public static Constant fromValue(byte value) { return new ByteConstant(value); } private ByteConstant(byte value) { this.value = value; } |
| ||||
public static Constant fromValue(char value) { return new CharConstant(value); } private CharConstant(char value) { this.value = value; } |
| ||||
public static Constant fromValue(double value) { return new DoubleConstant(value); } private DoubleConstant(double value) { this.value = value; } |
| ||||
public static Constant fromValue(float value) { return new FloatConstant(value); } private FloatConstant(float value) { this.value = value; } |
| ||||
public static Constant fromValue(short value) { return new ShortConstant(value); } private ShortConstant(short value) { this.value = value; } |
| |||
public static Constant fromValue( [[#variable9c354980]] value) { return new [[#variable9c3549a0]](value); } private [[#variable9c3549a0]]( [[#variable9c354980]] value) { this.value = value; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9c354980]] | byte |
1 | 2 | [[#9c354980]] | char |
1 | 3 | [[#9c354980]] | double |
1 | 4 | [[#9c354980]] | float |
1 | 5 | [[#9c354980]] | short |
2 | 1 | [[#9c3549a0]] | ByteConstant |
2 | 2 | [[#9c3549a0]] | CharConstant |
2 | 3 | [[#9c3549a0]] | DoubleConstant |
2 | 4 | [[#9c3549a0]] | FloatConstant |
2 | 5 | [[#9c3549a0]] | ShortConstant |