CloneSet4183


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.973statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1542
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SingleNameReference.java
2557
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetSingleNameReference.java
Clone Instance
1
Line Count
5
Source Line
42
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SingleNameReference.java

                                        FieldBinding fieldBinding;
                                        if ((fieldBinding = (FieldBinding) binding).isBlankFinal() &&
                                                           currentScope.allowBlankFinalFieldAssignment(fieldBinding)) {
                                                if ( !flowInfo.isDefinitelyAssigned(fieldBinding)) {
                                                        currentScope.problemReporter().uninitializedBlankFinalField(fieldBinding, this );
                                                }
                                        }


Clone Instance
2
Line Count
5
Source Line
57
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetSingleNameReference.java

                        // check if reading a final blank field
                        FieldBinding fieldBinding;
                        if ((fieldBinding = (FieldBinding) this.binding).isBlankFinal() &&
                                           currentScope.allowBlankFinalFieldAssignment(fieldBinding)) {
                                if ( !flowInfo.isDefinitelyAssigned(fieldBinding)) {
                                        currentScope.problemReporter().uninitializedBlankFinalField(fieldBinding, this );
                                }
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

// check if reading a final blank field
FieldBinding fieldBinding;
if ((fieldBinding = (FieldBinding)  [[#variable9bacaf00]]).isBlankFinal() && currentScope.allowBlankFinalFieldAssignment(fieldBinding)) {
  if ( !flowInfo.isDefinitelyAssigned(fieldBinding)) {
    currentScope.problemReporter().uninitializedBlankFinalField(fieldBinding, this );
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9bacaf00]]
this.binding 
12[[#9bacaf00]]
binding