CloneSet1476


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116260
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java
216311
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java
Clone Instance
1
Line Count
16
Source Line
260
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java

        receiver.generateCode(
                currentScope, 
                codeStream, 
                !(isStatic = this.codegenBinding.isStatic()));
        if (isStatic) {
                if (syntheticAccessors == null || syntheticAccessors[READ] == null) {
                        codeStream.getstatic(this.codegenBinding);
                }
                else   {
                        codeStream.invokestatic(syntheticAccessors[READ]);
                }
        }
        else   {
                codeStream.dup();
                if (syntheticAccessors == null || syntheticAccessors[READ] == null) {
                        codeStream.getfield(this.codegenBinding);
                }
                else   {
                        codeStream.invokestatic(syntheticAccessors[READ]);
                }
        }


Clone Instance
2
Line Count
16
Source Line
311
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java

        receiver.generateCode(
                currentScope, 
                codeStream, 
                !(isStatic = this.codegenBinding.isStatic()));
        if (isStatic) {
                if (syntheticAccessors == null || syntheticAccessors[READ] == null) {
                        codeStream.getstatic(this.codegenBinding);
                }
                else   {
                        codeStream.invokestatic(syntheticAccessors[READ]);
                }
        }
        else   {
                codeStream.dup();
                if (syntheticAccessors == null || syntheticAccessors[READ] == null) {
                        codeStream.getfield(this.codegenBinding);
                }
                else   {
                        codeStream.invokestatic(syntheticAccessors[READ]);
                }
        }


Clone AbstractionParameter Count: 0Parameter Bindings

receiver.generateCode(currentScope, codeStream, !(isStatic = this.codegenBinding.isStatic()));
if (isStatic) {
  if (syntheticAccessors == null || syntheticAccessors[READ] == null) {
    codeStream.getstatic(this.codegenBinding);
  }
  else {
    codeStream.invokestatic(syntheticAccessors[READ]);
  }
}
else {
  codeStream.dup();
  if (syntheticAccessors == null || syntheticAccessors[READ] == null) {
    codeStream.getfield(this.codegenBinding);
  }
  else {
    codeStream.invokestatic(syntheticAccessors[READ]);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None