You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2020/12/15 18:08:00 UTC

[jira] [Created] (NETBEANS-5153) Find Usages does not find implementation of method for extended interface

Tomáš Procházka created NETBEANS-5153:
-----------------------------------------

             Summary: Find Usages does not find implementation of method for extended interface
                 Key: NETBEANS-5153
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5153
             Project: NetBeans
          Issue Type: Bug
          Components: php - Editor
    Affects Versions: 12.2
            Reporter: Tomáš Procházka


Find Usages does not work for methods from extended interface.

Steps to reproduce:
# Create interface "Generic"
# Create interface "Special" extending "Generic"
# Create class "SpecialImpl" implementing "Special" interface
# Select method from "Generic" interface
# Select Find Usages from context menu

Actual result: only method declaration in interface is found
Expected result: method implementation in class is found

Sample code:
{code:php}
namespace MyApp;

interface Generic {
    public function print();
}

interface Special extends Generic {
    public function printSpecial();
}

class SpecialImpl implements Special {
    public function print() {}
    public function printSpecial() {}
}
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists