CloneSet1408


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12240.989switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112251
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/CodeAttribute.java
212263
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/CodeAttribute.java
Clone Instance
1
Line Count
12
Source Line
251
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/CodeAttribute.java

                                case IOpcodeMnemonics.LDC:
                                        index = u1At(this.classFileBytes, 1, pc);
                                        constantPoolEntry = this.constantPool.decodeEntry(index);
                                        if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Float &&
                                                   constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Integer &&
                                                   constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_String &&
                                                   constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) {
                                                        throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY);
                                        }
                                        visitor._ldc(pc - this.codeOffset, index, constantPoolEntry);
                                        pc += 2;
                                        break;


Clone Instance
2
Line Count
12
Source Line
263
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/CodeAttribute.java

                                case IOpcodeMnemonics.LDC_W:
                                        index = u2At(this.classFileBytes, 1, pc);
                                        constantPoolEntry = this.constantPool.decodeEntry(index);
                                        if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Float &&
                                                   constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Integer &&
                                                   constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_String &&
                                                   constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) {
                                                        throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY);
                                        }
                                        visitor._ldc_w(pc - this.codeOffset, index, constantPoolEntry);
                                        pc += 3;
                                        break;


Clone AbstractionParameter Count: 4Parameter Bindings

case IOpcodeMnemonics. [[#variableb89d32e0]]:
  index = [[#variableb89d3280]](this.classFileBytes, 1, pc);
  constantPoolEntry = this.constantPool.decodeEntry(index);
  if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Float && constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Integer && constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_String && constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) {
    throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY);
  }
  visitor. [[#variableb89d3200]](pc - this.codeOffset, index, constantPoolEntry);
  pc += [[#variableb89d31a0]];
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b89d32e0]]
LDC 
12[[#b89d32e0]]
LDC_W 
21[[#b89d3280]]
u1At 
22[[#b89d3280]]
u2At 
31[[#b89d3200]]
_ldc 
32[[#b89d3200]]
_ldc_w 
41[[#b89d31a0]]
2 
42[[#b89d31a0]]
3