CloneSet5586


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
191478
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
291812
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
Clone Instance
1
Line Count
9
Source Line
1478
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                                        insideTypeAnnotation = false;
                                                        depth++;
                                                        insideStaticContext |= receiverType.isStatic();
                                                        // 1EX5I8Z - accessing outer fields within a constructor call is permitted
                                                        // in order to do so, we change the flag as we exit from the type, not the method
                                                        // itself, because the class scope is used to retrieve the fields.
                                                        MethodScope enclosingMethodScope = scope.methodScope();
                                                        insideConstructorCall = enclosingMethodScope == null ? false:  enclosingMethodScope.isConstructorCall;
                                                        break;


Clone Instance
2
Line Count
9
Source Line
1812
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                        insideTypeAnnotation = false;
                                        depth++;
                                        insideStaticContext |= receiverType.isStatic();
                                        // 1EX5I8Z - accessing outer fields within a constructor call is permitted
                                        // in order to do so, we change the flag as we exit from the type, not the method
                                        // itself, because the class scope is used to retrieve the fields.
                                        MethodScope enclosingMethodScope = scope.methodScope();
                                        insideConstructorCall = enclosingMethodScope == null ? false:  enclosingMethodScope.isConstructorCall;
                                        break;


Clone AbstractionParameter Count: 0Parameter Bindings

insideTypeAnnotation = false;
depth++;
insideStaticContext |= receiverType.isStatic();
// 1EX5I8Z - accessing outer fields within a constructor call is permitted
// in order to do so, we change the flag as we exit from the type, not the method
// itself, because the class scope is used to retrieve the fields.
MethodScope enclosingMethodScope = scope.methodScope();
insideConstructorCall = enclosingMethodScope == null ? false: enclosingMethodScope.isConstructorCall;
break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None