CloneSet2934


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16783
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java
26461
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetQualifiedNameReference.java
Clone Instance
1
Line Count
6
Source Line
783
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java

                                // only last field is actually a write access if any
                                if (isFieldUseDeprecated(field, scope, (this.bits&  IsStrictlyAssigned) != 0 && index + 1 == length)) {
                                        scope.problemReporter().deprecatedField(field, this );
                                }
                                // constant propagation can only be performed as long as the previous one is a constant too.
                                if (this.constant != Constant.NotAConstant) {
                                        this.constant = field.constant();
                                }


Clone Instance
2
Line Count
6
Source Line
461
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetQualifiedNameReference.java

                        // only last field is actually a write access if any
                        if (isFieldUseDeprecated(field, scope, (this.bits&  IsStrictlyAssigned) != 0 && index + 1 == length)) {
                                scope.problemReporter().deprecatedField(field, this );
                        }
                        // constant propagation can only be performed as long as the previous one is a constant too.
                        if (this.constant != Constant.NotAConstant) {
                                this.constant = field.constant();
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

// only last field is actually a write access if any
if (isFieldUseDeprecated(field, scope, (this.bits&IsStrictlyAssigned) != 0 && index + 1 == length)) {
  scope.problemReporter().deprecatedField(field, this );
}
// constant propagation can only be performed as long as the previous one is a constant too.
if (this.constant != Constant.NotAConstant) {
  this.constant = field.constant();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None