| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 18 | 4 | 2 | 0.964 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 18 | 4794 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
| 2 | 18 | 4820 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
| 3 | 18 | 4944 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
| 4 | 18 | 4999 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
| ||||
if (index > 255) {
if (DEBUG) System.out.println(position + "\t\tldc_w:" + constant); //$NON-NLS-1$
// Generate a ldc_w
if (classFileOffset + 2 >= bCodeStream.length) {
resizeByteArray();
}
position++;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc_w;
writeUnsignedShort(index);
}
else {
if (DEBUG) System.out.println(position + "\t\tldc:" + constant); //$NON-NLS-1$
// Generate a ldc
if (classFileOffset + 1 >= bCodeStream.length) {
resizeByteArray();
}
position += 2;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc;
bCodeStream[classFileOffset++ ] = (byte) index;
}
|
| ||||
if (index > 255) {
if (DEBUG) System.out.println(position + "\t\tldc_w:" + constant); //$NON-NLS-1$
// Generate a ldc_w
if (classFileOffset + 2 >= bCodeStream.length) {
resizeByteArray();
}
position++;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc_w;
writeUnsignedShort(index);
}
else {
if (DEBUG) System.out.println(position + "\t\tldc:" + constant); //$NON-NLS-1$
// Generate a ldc
if (classFileOffset + 1 >= bCodeStream.length) {
resizeByteArray();
}
position += 2;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc;
bCodeStream[classFileOffset++ ] = (byte) index;
}
|
| ||||
if (index > 255) {
if (DEBUG) System.out.println(position + "\t\tldc_w:" + typeBinding); //$NON-NLS-1$
// Generate a ldc_w
if (classFileOffset + 2 >= bCodeStream.length) {
resizeByteArray();
}
position++;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc_w;
writeUnsignedShort(index);
}
else {
if (DEBUG) System.out.println(position + "\t\tldw:" + typeBinding); //$NON-NLS-1$
// Generate a ldc
if (classFileOffset + 1 >= bCodeStream.length) {
resizeByteArray();
}
position += 2;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc;
bCodeStream[classFileOffset++ ] = (byte) index;
}
|
| ||||
if (index > 255) {
// Generate a ldc_w
if (DEBUG) System.out.println(position + "\t\tldc_w:" + new String(constant)); //$NON-NLS-1$
if (classFileOffset + 2 >= bCodeStream.length) {
resizeByteArray();
}
position++;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc_w;
writeUnsignedShort(index);
}
else {
// Generate a ldc
if (DEBUG) System.out.println(position + "\t\tldc:" + new String(constant)); //$NON-NLS-1$
if (classFileOffset + 1 >= bCodeStream.length) {
resizeByteArray();
}
position += 2;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc;
bCodeStream[classFileOffset++ ] = (byte) index;
}
|
| |||
if (index > 255) {
// Generate a ldc_w
if (DEBUG)
System.out.println(position + "\t\tldc_w:" + [[#variableb803a0c0]]); //$NON-NLS-1$
// Generate a ldc_w
if (classFileOffset + 2 >= bCodeStream.length) {
resizeByteArray();
}
position++;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc_w;
writeUnsignedShort(index);
}
else {
// Generate a ldc
if (DEBUG)
System.out.println(position + [[#variableb803a040]] + [[#variableb803a0c0]]); //$NON-NLS-1$
// Generate a ldc
if (classFileOffset + 1 >= bCodeStream.length) {
resizeByteArray();
}
position += 2;
bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc;
bCodeStream[classFileOffset++ ] = (byte) index;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b803a0c0]] | constant |
| 1 | 2 | [[#b803a0c0]] | typeBinding |
| 1 | 3 | [[#b803a0c0]] | new String(constant) |
| 1 | 4 | [[#b803a0c0]] | constant |
| 2 | 1 | [[#b803a040]] | "\t\tldc:" |
| 2 | 2 | [[#b803a040]] | "\t\tldw:" |
| 2 | 3 | [[#b803a040]] | "\t\tldc:" |
| 2 | 4 | [[#b803a040]] | "\t\tldc:" |