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.992 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 30 | 708 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java |
2 | 30 | 740 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java |
| ||||
public void generateUnboxingConversion(int unboxedTypeID) { super.generateUnboxingConversion(unboxedTypeID); VerificationTypeInfo info = null; switch (unboxedTypeID) { case TypeIds.T_byte: info = new VerificationTypeInfo(TypeBinding.BYTE); break; case TypeIds.T_short: info = new VerificationTypeInfo(TypeBinding.SHORT); break; case TypeIds.T_char: info = new VerificationTypeInfo(TypeBinding.CHAR); break; case TypeIds.T_int: info = new VerificationTypeInfo(TypeBinding.INT); break; case TypeIds.T_long: info = new VerificationTypeInfo(TypeBinding.LONG); break; case TypeIds.T_float: info = new VerificationTypeInfo(TypeBinding.FLOAT); break; case TypeIds.T_double: info = new VerificationTypeInfo(TypeBinding.DOUBLE); break; case TypeIds.T_boolean: info = new VerificationTypeInfo(TypeBinding.BOOLEAN); } if (info != null) { this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info; } } |
| ||||
public void getBaseTypeValue(int baseTypeID) { super.getBaseTypeValue(baseTypeID); VerificationTypeInfo info = null; switch (baseTypeID) { case TypeIds.T_byte: info = new VerificationTypeInfo(TypeBinding.BYTE); break; case TypeIds.T_short: info = new VerificationTypeInfo(TypeBinding.SHORT); break; case TypeIds.T_char: info = new VerificationTypeInfo(TypeBinding.CHAR); break; case TypeIds.T_int: info = new VerificationTypeInfo(TypeBinding.INT); break; case TypeIds.T_long: info = new VerificationTypeInfo(TypeBinding.LONG); break; case TypeIds.T_float: info = new VerificationTypeInfo(TypeBinding.FLOAT); break; case TypeIds.T_double: info = new VerificationTypeInfo(TypeBinding.DOUBLE); break; case TypeIds.T_boolean: info = new VerificationTypeInfo(TypeBinding.BOOLEAN); } if (info != null) { this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info; } } |
| |||
public void [[#variableb2f672e0]](int [[#variableb2f67160]]) { super. [[#variableb2f672e0]]( [[#variableb2f67160]]); VerificationTypeInfo info = null; switch ( [[#variableb2f67160]]) { case TypeIds.T_byte: info = new VerificationTypeInfo(TypeBinding.BYTE); break; case TypeIds.T_short: info = new VerificationTypeInfo(TypeBinding.SHORT); break; case TypeIds.T_char: info = new VerificationTypeInfo(TypeBinding.CHAR); break; case TypeIds.T_int: info = new VerificationTypeInfo(TypeBinding.INT); break; case TypeIds.T_long: info = new VerificationTypeInfo(TypeBinding.LONG); break; case TypeIds.T_float: info = new VerificationTypeInfo(TypeBinding.FLOAT); break; case TypeIds.T_double: info = new VerificationTypeInfo(TypeBinding.DOUBLE); break; case TypeIds.T_boolean: info = new VerificationTypeInfo(TypeBinding.BOOLEAN); } if (info != null) { this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2f672e0]] | generateUnboxingConversion |
1 | 2 | [[#b2f672e0]] | getBaseTypeValue |
2 | 1 | [[#b2f67160]] | unboxedTypeID |
2 | 2 | [[#b2f67160]] | baseTypeID |