File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -587,11 +587,6 @@ class Method extends Function {
587587 predicate implementsIncludingInterfaceMethods ( Method m ) {
588588 this = m
589589 or
590- // Take all methods
591- // Get receiver type then underlying type ==> [method, recvutype]
592- // Map through Type.implements ==> [method, candtype]
593- // Get method name ==> [mname, candtype]
594- // Get corresponding method
595590 exists ( Type t , string mname |
596591 t = implementsIncludingInterfaceMethodsCand ( m , mname ) and
597592 this = t .getMethod ( mname )
Original file line number Diff line number Diff line change @@ -1075,7 +1075,7 @@ int numberOfTypesWithMethodName(string name) { result = count(Type t | t.hasMeth
10751075 *
10761076 * This is used to restrict the set of interfaces to consider in the definition of `implements`,
10771077 * so it does not matter which method name is chosen (we use the most unusual name the interface
1078- * require ; this is the most discriminating and so shrinks the search space the most).
1078+ * requires ; this is the most discriminating and so shrinks the search space the most).
10791079 */
10801080private string getExampleMethodName ( InterfaceType i ) {
10811081 result = min ( string m | i .hasMethod ( m , _) | m order by numberOfTypesWithMethodName ( m ) )
You can’t perform that action at this time.
0 commit comments