CloneSet2263


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4420.969executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1678
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java
24171
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java
3490
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SingleNameReference.java
44113
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SingleNameReference.java
Clone Instance
1
Line Count
6
Source Line
78
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java

                        if (flowInfo.isPotentiallyAssigned(binding)) {
                                currentScope.problemReporter().duplicateInitializationOfBlankFinalField(
                                        binding, 
                                        this                                                           );
                        }
                        else   {
                                flowContext.recordSettingFinal(binding, this, flowInfo);
                        }


Clone Instance
2
Line Count
4
Source Line
171
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java

                                if (flowInfo.isPotentiallyAssigned(lastFieldBinding)) {
                                        currentScope.problemReporter().duplicateInitializationOfBlankFinalField(lastFieldBinding, this );
                                }
                                else   {
                                        flowContext.recordSettingFinal(lastFieldBinding, this, flowInfo);
                                }


Clone Instance
3
Line Count
4
Source Line
90
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SingleNameReference.java

                                                if (flowInfo.isPotentiallyAssigned(fieldBinding)) {
                                                        currentScope.problemReporter().duplicateInitializationOfBlankFinalField(fieldBinding, this );
                                                }
                                                else   {
                                                        flowContext.recordSettingFinal(fieldBinding, this, flowInfo);
                                                }


Clone Instance
4
Line Count
4
Source Line
113
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SingleNameReference.java

                                                       if (flowInfo.isPotentiallyAssigned(localBinding)) {
                                                        currentScope.problemReporter().duplicateInitializationOfFinalLocal(localBinding, this );
                                                       }
                                                       else {
                                                        flowContext.recordSettingFinal(localBinding, this, flowInfo);
                                                       }


Clone AbstractionParameter Count: 2Parameter Bindings

if (flowInfo.isPotentiallyAssigned( [[#variable9c99cca0]])) {
  currentScope.problemReporter(). [[#variable9c99cc80]]( [[#variable9c99cca0]], this );
}
else {
  flowContext.recordSettingFinal( [[#variable9c99cca0]], this, flowInfo);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c99cca0]]
fieldBinding 
12[[#9c99cca0]]
localBinding 
13[[#9c99cca0]]
lastFieldBinding 
14[[#9c99cca0]]
binding 
21[[#9c99cc80]]
duplicateInitializationOfBlankFinalField 
22[[#9c99cc80]]
duplicateInitializationOfFinalLocal 
23[[#9c99cc80]]
duplicateInitializationOfBlankFinalField 
24[[#9c99cc80]]
duplicateInitializationOfBlankFinalField