| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 7 | 5 | 0.967 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 64 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ByteValueImpl.java |
| 2 | 4 | 64 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/CharValueImpl.java |
| 3 | 4 | 64 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/DoubleValueImpl.java |
| 4 | 4 | 64 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/FloatValueImpl.java |
| 5 | 4 | 64 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/IntegerValueImpl.java |
| 6 | 4 | 64 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/LongValueImpl.java |
| 7 | 4 | 64 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ShortValueImpl.java |
| ||||
/**
* @return Reads and returns new instance.
*/
public static ByteValueImpl read(MirrorImpl target, DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
byte value = target.readByte("byteValue", in); //$NON-NLS-1$
return new ByteValueImpl(vmImpl, new Byte(value));
}
|
| ||||
/**
* @return Reads and returns new instance.
*/
public static CharValueImpl read(MirrorImpl target, DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
char value = target.readChar("charValue", in); //$NON-NLS-1$
return new CharValueImpl(vmImpl, new Character(value));
}
|
| ||||
/**
* @return Reads and returns new instance.
*/
public static DoubleValueImpl read(MirrorImpl target, DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
double value = target.readDouble("doubleValue", in); //$NON-NLS-1$
return new DoubleValueImpl(vmImpl, new Double(value));
}
|
| ||||
/**
* @return Reads and returns new instance.
*/
public static FloatValueImpl read(MirrorImpl target, DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
float value = target.readFloat("floatValue", in); //$NON-NLS-1$
return new FloatValueImpl(vmImpl, new Float(value));
}
|
| ||||
/**
* @return Reads and returns new instance.
*/
public static IntegerValueImpl read(MirrorImpl target, DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
int value = target.readInt("integerValue", in); //$NON-NLS-1$
return new IntegerValueImpl(vmImpl, new Integer(value));
}
|
| ||||
/**
* @return Reads and returns new instance.
*/
public static LongValueImpl read(MirrorImpl target, DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
long value = target.readLong("longValue", in); //$NON-NLS-1$
return new LongValueImpl(vmImpl, new Long(value));
}
|
| ||||
/**
* @return Reads and returns new instance.
*/
public static ShortValueImpl read(MirrorImpl target, DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
short value = target.readShort("shortValue", in); //$NON-NLS-1$
return new ShortValueImpl(vmImpl, new Short(value));
}
|
| |||
/**
* @return Reads and returns new instance.
*/
public static [[#variablebc249100]] read(MirrorImpl target, DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
[[#variablebc249040]] value = target. [[#variablebc248fe0]]( [[#variablebc248f80]], in); //$NON-NLS-1$
return new [[#variablebc249100]](vmImpl, new [[#variablebc248c20]](value));
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bc249100]] | ShortValueImpl |
| 1 | 2 | [[#bc249100]] | LongValueImpl |
| 1 | 3 | [[#bc249100]] | IntegerValueImpl |
| 1 | 4 | [[#bc249100]] | FloatValueImpl |
| 1 | 5 | [[#bc249100]] | DoubleValueImpl |
| 1 | 6 | [[#bc249100]] | CharValueImpl |
| 1 | 7 | [[#bc249100]] | ByteValueImpl |
| 2 | 1 | [[#bc249040]] | short |
| 2 | 2 | [[#bc249040]] | long |
| 2 | 3 | [[#bc249040]] | int |
| 2 | 4 | [[#bc249040]] | float |
| 2 | 5 | [[#bc249040]] | double |
| 2 | 6 | [[#bc249040]] | char |
| 2 | 7 | [[#bc249040]] | byte |
| 3 | 1 | [[#bc248fe0]] | readShort |
| 3 | 2 | [[#bc248fe0]] | readLong |
| 3 | 3 | [[#bc248fe0]] | readInt |
| 3 | 4 | [[#bc248fe0]] | readFloat |
| 3 | 5 | [[#bc248fe0]] | readDouble |
| 3 | 6 | [[#bc248fe0]] | readChar |
| 3 | 7 | [[#bc248fe0]] | readByte |
| 4 | 1 | [[#bc248f80]] | "shortValue" |
| 4 | 2 | [[#bc248f80]] | "longValue" |
| 4 | 3 | [[#bc248f80]] | "integerValue" |
| 4 | 4 | [[#bc248f80]] | "floatValue" |
| 4 | 5 | [[#bc248f80]] | "doubleValue" |
| 4 | 6 | [[#bc248f80]] | "charValue" |
| 4 | 7 | [[#bc248f80]] | "byteValue" |
| 5 | 1 | [[#bc248c20]] | Short |
| 5 | 2 | [[#bc248c20]] | Long |
| 5 | 3 | [[#bc248c20]] | Integer |
| 5 | 4 | [[#bc248c20]] | Float |
| 5 | 5 | [[#bc248c20]] | Double |
| 5 | 6 | [[#bc248c20]] | Character |
| 5 | 7 | [[#bc248c20]] | Byte |