Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
30 | 2 | 2 | 0.993 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 30 | 183 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java |
2 | 30 | 637 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java |
| ||||
public void checkcast(int baseId) { super.checkcast(baseId); VerificationTypeInfo info = null; switch (baseId) { case TypeIds.T_byte: info = new VerificationTypeInfo(TypeIds.T_JavaLangByte, ConstantPool.JavaLangByteConstantPoolName); break; case TypeIds.T_short: info = new VerificationTypeInfo(TypeIds.T_JavaLangShort, ConstantPool.JavaLangShortConstantPoolName); break; case TypeIds.T_char: info = new VerificationTypeInfo(TypeIds.T_JavaLangCharacter, ConstantPool.JavaLangCharacterConstantPoolName); break; case TypeIds.T_int: info = new VerificationTypeInfo(TypeIds.T_JavaLangInteger, ConstantPool.JavaLangIntegerConstantPoolName); break; case TypeIds.T_long: info = new VerificationTypeInfo(TypeIds.T_JavaLangLong, ConstantPool.JavaLangLongConstantPoolName); break; case TypeIds.T_float: info = new VerificationTypeInfo(TypeIds.T_JavaLangFloat, ConstantPool.JavaLangFloatConstantPoolName); break; case TypeIds.T_double: info = new VerificationTypeInfo(TypeIds.T_JavaLangDouble, ConstantPool.JavaLangDoubleConstantPoolName); break; case TypeIds.T_boolean: info = new VerificationTypeInfo(TypeIds.T_JavaLangBoolean, ConstantPool.JavaLangBooleanConstantPoolName); } if (info != null) { this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info; } } |
| ||||
public void generateBoxingConversion(int unboxedTypeID) { super.generateBoxingConversion(unboxedTypeID); VerificationTypeInfo info = null; switch (unboxedTypeID) { case TypeIds.T_byte: info = new VerificationTypeInfo(TypeIds.T_JavaLangByte, ConstantPool.JavaLangByteConstantPoolName); break; case TypeIds.T_short: info = new VerificationTypeInfo(TypeIds.T_JavaLangShort, ConstantPool.JavaLangShortConstantPoolName); break; case TypeIds.T_char: info = new VerificationTypeInfo(TypeIds.T_JavaLangCharacter, ConstantPool.JavaLangCharacterConstantPoolName); break; case TypeIds.T_int: info = new VerificationTypeInfo(TypeIds.T_JavaLangInteger, ConstantPool.JavaLangIntegerConstantPoolName); break; case TypeIds.T_long: info = new VerificationTypeInfo(TypeIds.T_JavaLangLong, ConstantPool.JavaLangLongConstantPoolName); break; case TypeIds.T_float: info = new VerificationTypeInfo(TypeIds.T_JavaLangFloat, ConstantPool.JavaLangFloatConstantPoolName); break; case TypeIds.T_double: info = new VerificationTypeInfo(TypeIds.T_JavaLangDouble, ConstantPool.JavaLangDoubleConstantPoolName); break; case TypeIds.T_boolean: info = new VerificationTypeInfo(TypeIds.T_JavaLangBoolean, ConstantPool.JavaLangBooleanConstantPoolName); } if (info != null) { this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info; } } |
| |||
public void [[#variable961888a0]](int [[#variable96188940]]) { super. [[#variable961888a0]]( [[#variable96188940]]); VerificationTypeInfo info = null; switch ( [[#variable96188940]]) { case TypeIds.T_byte: info = new VerificationTypeInfo(TypeIds.T_JavaLangByte, ConstantPool.JavaLangByteConstantPoolName); break; case TypeIds.T_short: info = new VerificationTypeInfo(TypeIds.T_JavaLangShort, ConstantPool.JavaLangShortConstantPoolName); break; case TypeIds.T_char: info = new VerificationTypeInfo(TypeIds.T_JavaLangCharacter, ConstantPool.JavaLangCharacterConstantPoolName); break; case TypeIds.T_int: info = new VerificationTypeInfo(TypeIds.T_JavaLangInteger, ConstantPool.JavaLangIntegerConstantPoolName); break; case TypeIds.T_long: info = new VerificationTypeInfo(TypeIds.T_JavaLangLong, ConstantPool.JavaLangLongConstantPoolName); break; case TypeIds.T_float: info = new VerificationTypeInfo(TypeIds.T_JavaLangFloat, ConstantPool.JavaLangFloatConstantPoolName); break; case TypeIds.T_double: info = new VerificationTypeInfo(TypeIds.T_JavaLangDouble, ConstantPool.JavaLangDoubleConstantPoolName); break; case TypeIds.T_boolean: info = new VerificationTypeInfo(TypeIds.T_JavaLangBoolean, ConstantPool.JavaLangBooleanConstantPoolName); } if (info != null) { this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#961888a0]] | checkcast |
1 | 2 | [[#961888a0]] | generateBoxingConversion |
2 | 1 | [[#96188940]] | baseId |
2 | 2 | [[#96188940]] | unboxedTypeID |