| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 20 | 5 | 6 | 0.956 | class_body |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 20 | 23 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/BooleanTypeImpl.java |
| 2 | 20 | 23 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/DoubleTypeImpl.java |
| 3 | 20 | 23 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/FloatTypeImpl.java |
| 4 | 20 | 23 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/IntegerTypeImpl.java |
| 5 | 20 | 23 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/LongTypeImpl.java |
| ||||
{
/**
* Creates new instance.
*/
public BooleanTypeImpl(VirtualMachineImpl vmImpl) {
super("BooleanType", vmImpl, "boolean", "Z"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
/**
* @returns primitive type tag.
*/
public byte tag() {
return BooleanValueImpl.tag;
}
/**
* @return Create a null value instance of the type.
*/
public Value createNullValue() {
return virtualMachineImpl().mirrorOf(false);
}
}
|
| ||||
{
/**
* Creates new instance.
*/
public DoubleTypeImpl(VirtualMachineImpl vmImpl) {
super("DoubleType", vmImpl, "double", "D"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
/**
* @returns primitive type tag.
*/
public byte tag() {
return DoubleValueImpl.tag;
}
/**
* @return Create a null value instance of the type.
*/
public Value createNullValue() {
return virtualMachineImpl().mirrorOf(0.0);
}
}
|
| ||||
{
/**
* Creates new instance.
*/
public FloatTypeImpl(VirtualMachineImpl vmImpl) {
super("FloatType", vmImpl, "float", "F"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
/**
* @returns primitive type tag.
*/
public byte tag() {
return FloatValueImpl.tag;
}
/**
* @return Create a null value instance of the type.
*/
public Value createNullValue() {
return virtualMachineImpl().mirrorOf(0.0F);
}
}
|
| ||||
{
/**
* Creates new instance.
*/
public IntegerTypeImpl(VirtualMachineImpl vmImpl) {
super("IntegerType", vmImpl, "int", "I"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
/**
* @returns primitive type tag.
*/
public byte tag() {
return IntegerValueImpl.tag;
}
/**
* @return Create a null value instance of the type.
*/
public Value createNullValue() {
return virtualMachineImpl().mirrorOf(0);
}
}
|
| ||||
{
/**
* Creates new instance.
*/
public LongTypeImpl(VirtualMachineImpl vmImpl) {
super("LongType", vmImpl, "long", "J"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
/**
* @returns primitive type tag.
*/
public byte tag() {
return LongValueImpl.tag;
}
/**
* @return Create a null value instance of the type.
*/
public Value createNullValue() {
return virtualMachineImpl().mirrorOf(0L);
}
}
|
| |||
{
/**
* Creates new instance.
*/
public [[#variablebac8dee0]](VirtualMachineImpl vmImpl) {
super( [[#variablebac8de60]], vmImpl, [[#variablebac8dda0]], [[#variablebac8dd40]]); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
/**
* @returns primitive type tag.
*/
public byte tag() {
return [[#variablebac8dce0]].tag;
}
/**
* @return Create a null value instance of the type.
*/
public Value createNullValue() {
return virtualMachineImpl().mirrorOf( [[#variablebac8dbe0]]);
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bac8dee0]] | LongTypeImpl |
| 1 | 2 | [[#bac8dee0]] | IntegerTypeImpl |
| 1 | 3 | [[#bac8dee0]] | FloatTypeImpl |
| 1 | 4 | [[#bac8dee0]] | DoubleTypeImpl |
| 1 | 5 | [[#bac8dee0]] | BooleanTypeImpl |
| 2 | 1 | [[#bac8de60]] | "LongType" |
| 2 | 2 | [[#bac8de60]] | "IntegerType" |
| 2 | 3 | [[#bac8de60]] | "FloatType" |
| 2 | 4 | [[#bac8de60]] | "DoubleType" |
| 2 | 5 | [[#bac8de60]] | "BooleanType" |
| 3 | 1 | [[#bac8dda0]] | "long" |
| 3 | 2 | [[#bac8dda0]] | "int" |
| 3 | 3 | [[#bac8dda0]] | "float" |
| 3 | 4 | [[#bac8dda0]] | "double" |
| 3 | 5 | [[#bac8dda0]] | "boolean" |
| 4 | 1 | [[#bac8dd40]] | "J" |
| 4 | 2 | [[#bac8dd40]] | "I" |
| 4 | 3 | [[#bac8dd40]] | "F" |
| 4 | 4 | [[#bac8dd40]] | "D" |
| 4 | 5 | [[#bac8dd40]] | "Z" |
| 5 | 1 | [[#bac8dce0]] | LongValueImpl |
| 5 | 2 | [[#bac8dce0]] | IntegerValueImpl |
| 5 | 3 | [[#bac8dce0]] | FloatValueImpl |
| 5 | 4 | [[#bac8dce0]] | DoubleValueImpl |
| 5 | 5 | [[#bac8dce0]] | BooleanValueImpl |
| 6 | 1 | [[#bac8dbe0]] | 0L |
| 6 | 2 | [[#bac8dbe0]] | 0 |
| 6 | 3 | [[#bac8dbe0]] | 0.0F |
| 6 | 4 | [[#bac8dbe0]] | 0.0 |
| 6 | 5 | [[#bac8dbe0]] | false |