CloneSet618


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12430.990class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1122822
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
2122838
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
3125681
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
4125694
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
Clone Instance
1
Line Count
12
Source Line
2822
Source File
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());
}


Clone Instance
2
Line Count
12
Source Line
2838
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

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());
}


Clone Instance
3
Line Count
12
Source Line
5681
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

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());
}


Clone Instance
4
Line Count
12
Source Line
5694
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

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());
}


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2b33aa0]]
getfield 
12[[#b2b33aa0]]
getstatic 
13[[#b2b33aa0]]
putfield 
14[[#b2b33aa0]]
putstatic 
21[[#b2b33a20]]
"\t\tgetfield:" 
22[[#b2b33a20]]
"\t\tgetstatic:" 
23[[#b2b33a20]]
"\t\tputfield:" 
24[[#b2b33a20]]
"\t\tputstatic:" 
31[[#b2b338a0]]
OPC_getfield 
32[[#b2b338a0]]
OPC_getstatic 
33[[#b2b338a0]]
OPC_putfield 
34[[#b2b338a0]]
OPC_putstatic