CloneSet10026


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.986executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151804
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
21388
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetScope.java
Clone Instance
1
Line Count
5
Source Line
1804
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                                                        // ambiguous case -> must qualify the method (javac generates an ambiguous error instead)
                                                                        // otherwise if a method was found, complain when another is found in an 'immediate' enclosing type (that is, not inherited)
                                                                        // NOTE: Unlike fields, a non visible method hides a visible method
                                                                        return new ProblemMethodBinding(
                                                                                methodBinding, // closest match
                                                                                 selector, 
                                                                                argumentTypes, 
                                                                                ProblemReasons.InheritedNameHidesEnclosingName);


Clone Instance
2
Line Count
1
Source Line
388
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetScope.java

                        return new ProblemMethodBinding(methodBinding, selector, argumentTypes, ProblemReasons.NotFound);


Clone AbstractionParameter Count: 1Parameter Bindings

// ambiguous case -> must qualify the method (javac generates an ambiguous error instead)
// otherwise if a method was found, complain when another is found in an 'immediate' enclosing type (that is, not inherited)
// NOTE: Unlike fields, a non visible method hides a visible method
return new ProblemMethodBinding(methodBinding, // closest match
                                 selector, argumentTypes, ProblemReasons. [[#variable971fa460]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#971fa460]]
InheritedNameHidesEnclosingName 
12[[#971fa460]]
NotFound