Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 4 | 0.989 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 251 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/CodeAttribute.java |
2 | 12 | 263 | 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; |
| ||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b89d32e0]] | LDC |
1 | 2 | [[#b89d32e0]] | LDC_W |
2 | 1 | [[#b89d3280]] | u1At |
2 | 2 | [[#b89d3280]] | u2At |
3 | 1 | [[#b89d3200]] | _ldc |
3 | 2 | [[#b89d3200]] | _ldc_w |
4 | 1 | [[#b89d31a0]] | 2 |
4 | 2 | [[#b89d31a0]] | 3 |