Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 4 | 3 | 0.990 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 2822 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
2 | 12 | 2838 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
3 | 12 | 5681 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
4 | 12 | 5694 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
| ||||
public void getfield(FieldBinding fieldBinding) { if (DEBUG) System.out.println(position + "\t\tgetfield:" + fieldBinding); //$NON-NLS-1$ int returnTypeSize = 1; if ((fieldBinding.type.id == TypeIds.T_double) || (fieldBinding.type.id == TypeIds.T_long)) { returnTypeSize = 2; } generateFieldAccess( Opcodes.OPC_getfield, returnTypeSize, fieldBinding.declaringClass.constantPoolName(), fieldBinding.name, fieldBinding.type.signature()); } |
| ||||
public void getstatic(FieldBinding fieldBinding) { if (DEBUG) System.out.println(position + "\t\tgetstatic:" + fieldBinding); //$NON-NLS-1$ int returnTypeSize = 1; if ((fieldBinding.type.id == TypeIds.T_double) || (fieldBinding.type.id == TypeIds.T_long)) { returnTypeSize = 2; } generateFieldAccess( Opcodes.OPC_getstatic, returnTypeSize, fieldBinding.declaringClass.constantPoolName(), fieldBinding.name, fieldBinding.type.signature()); } |
| ||||
public void putfield(FieldBinding fieldBinding) { if (DEBUG) System.out.println(position + "\t\tputfield:" + fieldBinding); //$NON-NLS-1$ int returnTypeSize = 1; if ((fieldBinding.type.id == TypeIds.T_double) || (fieldBinding.type.id == TypeIds.T_long)) { returnTypeSize = 2; } generateFieldAccess( Opcodes.OPC_putfield, returnTypeSize, fieldBinding.declaringClass.constantPoolName(), fieldBinding.name, fieldBinding.type.signature()); } |
| ||||
public void putstatic(FieldBinding fieldBinding) { if (DEBUG) System.out.println(position + "\t\tputstatic:" + fieldBinding); //$NON-NLS-1$ int returnTypeSize = 1; if ((fieldBinding.type.id == TypeIds.T_double) || (fieldBinding.type.id == TypeIds.T_long)) { returnTypeSize = 2; } generateFieldAccess( Opcodes.OPC_putstatic, returnTypeSize, fieldBinding.declaringClass.constantPoolName(), fieldBinding.name, fieldBinding.type.signature()); } |
| |||
public void [[#variableb2b33aa0]](FieldBinding fieldBinding) { if (DEBUG) System.out.println(position + [[#variableb2b33a20]] + fieldBinding); //$NON-NLS-1$ int returnTypeSize = 1; if ((fieldBinding.type.id == TypeIds.T_double) || (fieldBinding.type.id == TypeIds.T_long)) { returnTypeSize = 2; } generateFieldAccess(Opcodes. [[#variableb2b338a0]], returnTypeSize, fieldBinding.declaringClass.constantPoolName(), fieldBinding.name, fieldBinding.type.signature()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2b33aa0]] | getfield |
1 | 2 | [[#b2b33aa0]] | getstatic |
1 | 3 | [[#b2b33aa0]] | putfield |
1 | 4 | [[#b2b33aa0]] | putstatic |
2 | 1 | [[#b2b33a20]] | "\t\tgetfield:" |
2 | 2 | [[#b2b33a20]] | "\t\tgetstatic:" |
2 | 3 | [[#b2b33a20]] | "\t\tputfield:" |
2 | 4 | [[#b2b33a20]] | "\t\tputstatic:" |
3 | 1 | [[#b2b338a0]] | OPC_getfield |
3 | 2 | [[#b2b338a0]] | OPC_getstatic |
3 | 3 | [[#b2b338a0]] | OPC_putfield |
3 | 4 | [[#b2b338a0]] | OPC_putstatic |