CloneSet462


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18420.964executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1184794
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
2184820
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
3184944
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
4184999
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
Clone Instance
1
Line Count
18
Source Line
4794
Source File
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;
        }


Clone Instance
2
Line Count
18
Source Line
4820
Source File
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;
        }


Clone Instance
3
Line Count
18
Source Line
4944
Source File
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:" + 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;
        }


Clone Instance
4
Line Count
18
Source Line
4999
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        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;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b803a0c0]]
constant 
12[[#b803a0c0]]
typeBinding 
13[[#b803a0c0]]
new String(constant) 
14[[#b803a0c0]]
constant 
21[[#b803a040]]
"\t\tldc:" 
22[[#b803a040]]
"\t\tldw:" 
23[[#b803a040]]
"\t\tldc:" 
24[[#b803a040]]
"\t\tldc:"