CloneSet117


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
161120.983statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116252
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
215440
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
316739
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
415864
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
5151194
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
6151318
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
7153464
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
8154563
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
9155038
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
10155326
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
11155892
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
Clone Instance
1
Line Count
16
Source Line
252
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_aload;
                writeUnsignedShort(iArg);
        }
        else   {
                // Don't need to use the wide bytecode
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_aload;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


Clone Instance
2
Line Count
15
Source Line
440
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_astore;
                writeUnsignedShort(iArg);
        }
        else   {
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_astore;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


Clone Instance
3
Line Count
16
Source Line
739
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_dload;
                writeUnsignedShort(iArg);
        }
        else   {
                // Don't need to use the wide bytecode
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_dload;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


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

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_dstore;
                writeUnsignedShort(iArg);
        }
        else   {
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_dstore;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


Clone Instance
5
Line Count
15
Source Line
1194
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_fload;
                writeUnsignedShort(iArg);
        }
        else   {
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_fload;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


Clone Instance
6
Line Count
15
Source Line
1318
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_fstore;
                writeUnsignedShort(iArg);
        }
        else   {
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_fstore;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


Clone Instance
7
Line Count
15
Source Line
3464
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_iload;
                writeUnsignedShort(iArg);
        }
        else   {
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_iload;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


Clone Instance
8
Line Count
15
Source Line
4563
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_istore;
                writeUnsignedShort(iArg);
        }
        else   {
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_istore;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


Clone Instance
9
Line Count
15
Source Line
5038
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_lload;
                writeUnsignedShort(iArg);
        }
        else   {
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_lload;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


Clone Instance
10
Line Count
15
Source Line
5326
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (iArg > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_lstore;
                writeUnsignedShort(iArg);
        }
        else   {
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_lstore;
                bCodeStream[classFileOffset++ ] = (byte) iArg;
        }


Clone Instance
11
Line Count
15
Source Line
5892
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

        if (index > 255) { // Widen
                if (classFileOffset + 3 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_ret;
                writeUnsignedShort(index);
        }
        else   { // Don't Widen
                if (classFileOffset + 1 >= bCodeStream.length) {
                        resizeByteArray();
                }
                position += 2;
                bCodeStream[classFileOffset++ ] = Opcodes.OPC_ret;
                bCodeStream[classFileOffset++ ] = (byte) index;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

if ( [[#variable94e3de60]] > 255) { // Widen
  if (classFileOffset + 3 >= bCodeStream.length) {
    resizeByteArray();
  }
  position += 2;
  bCodeStream[classFileOffset++ ] = Opcodes.OPC_wide;
  bCodeStream[classFileOffset++ ] = Opcodes. [[#variable94e3dec0]];
  writeUnsignedShort( [[#variable94e3de60]]);
}
else { // Don't Widen
  // Don't need to use the wide bytecode
  if (classFileOffset + 1 >= bCodeStream.length) {
    resizeByteArray();
  }
  position += 2;
  bCodeStream[classFileOffset++ ] = Opcodes. [[#variable94e3dec0]];
  bCodeStream[classFileOffset++ ] = (byte)  [[#variable94e3de60]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94e3de60]]
iArg 
12[[#94e3de60]]
iArg 
13[[#94e3de60]]
iArg 
14[[#94e3de60]]
iArg 
15[[#94e3de60]]
iArg 
16[[#94e3de60]]
iArg 
17[[#94e3de60]]
iArg 
18[[#94e3de60]]
iArg 
19[[#94e3de60]]
iArg 
110[[#94e3de60]]
iArg 
111[[#94e3de60]]
index 
21[[#94e3dec0]]
OPC_aload 
22[[#94e3dec0]]
OPC_astore 
23[[#94e3dec0]]
OPC_dload 
24[[#94e3dec0]]
OPC_dstore 
25[[#94e3dec0]]
OPC_fload 
26[[#94e3dec0]]
OPC_fstore 
27[[#94e3dec0]]
OPC_iload 
28[[#94e3dec0]]
OPC_istore 
29[[#94e3dec0]]
OPC_lload 
210[[#94e3dec0]]
OPC_lstore 
211[[#94e3dec0]]
OPC_ret