| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 18 | 2 | 6 | 0.987 | switch_groups[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 18 | 1304 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java |
| 2 | 18 | 1322 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java |
| ||||
case IConstantPoolConstant.CONSTANT_Integer:
buffer.append(
Messages.bind(Messages.disassembler_constantpool_integer,
new String[] {
Integer.toString(i),
Integer.toString(constantPoolEntry.getIntegerValue())
} ));
break;
case IConstantPoolConstant.CONSTANT_InterfaceMethodref:
buffer.append(
Messages.bind(Messages.disassembler_constantpool_interfacemethodref,
new String[] {
Integer.toString(i),
Integer.toString(constantPoolEntry.getClassIndex()),
Integer.toString(constantPoolEntry.getNameAndTypeIndex()),
new String(constantPoolEntry.getClassName()),
new String(constantPoolEntry.getMethodName()),
new String(constantPoolEntry.getMethodDescriptor())
} ));
break;
|
| ||||
case IConstantPoolConstant.CONSTANT_Long:
buffer.append(
Messages.bind(Messages.disassembler_constantpool_long,
new String[] {
Integer.toString(i),
Long.toString(constantPoolEntry.getLongValue())
} ));
break;
case IConstantPoolConstant.CONSTANT_Methodref:
buffer.append(
Messages.bind(Messages.disassembler_constantpool_methodref,
new String[] {
Integer.toString(i),
Integer.toString(constantPoolEntry.getClassIndex()),
Integer.toString(constantPoolEntry.getNameAndTypeIndex()),
new String(constantPoolEntry.getClassName()),
new String(constantPoolEntry.getMethodName()),
new String(constantPoolEntry.getMethodDescriptor())
} ));
break;
|
| |||
case IConstantPoolConstant. [[#variablea0b34760]]:
buffer.append(Messages.bind(Messages. [[#variablea0b346c0]], new String[] {
Integer.toString(i),
[[#variablea0b34640]].toString(constantPoolEntry. [[#variablea0b34520]]())
} ));
break;
case IConstantPoolConstant. [[#variablea0b34540]]:
buffer.append(Messages.bind(Messages. [[#variable94559d00]], new String[] {
Integer.toString(i),
Integer.toString(constantPoolEntry.getClassIndex()),
Integer.toString(constantPoolEntry.getNameAndTypeIndex()),
new String(constantPoolEntry.getClassName()),
new String(constantPoolEntry.getMethodName()),
new String(constantPoolEntry.getMethodDescriptor())
} ));
break;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a0b34760]] | CONSTANT_Long |
| 1 | 2 | [[#a0b34760]] | CONSTANT_Integer |
| 2 | 1 | [[#a0b346c0]] | disassembler_constantpool_long |
| 2 | 2 | [[#a0b346c0]] | disassembler_constantpool_integer |
| 3 | 1 | [[#a0b34640]] | Long |
| 3 | 2 | [[#a0b34640]] | Integer |
| 4 | 1 | [[#a0b34520]] | getLongValue |
| 4 | 2 | [[#a0b34520]] | getIntegerValue |
| 5 | 1 | [[#a0b34540]] | CONSTANT_Methodref |
| 5 | 2 | [[#a0b34540]] | CONSTANT_InterfaceMethodref |
| 6 | 1 | [[#94559d00]] | disassembler_constantpool_methodref |
| 6 | 2 | [[#94559d00]] | disassembler_constantpool_interfacemethodref |