TimeLord2004 opened a new issue, #4285:
URL: https://github.com/apache/netbeans/issues/4285

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   I have recently installed netbeans 14 (long time user of 8.1) and found the 
'find usages' feature is not working in the following situation. Code 
(simplified) is like this:
   
   `public class MyJPanel extends JPanel
   {
        protected static MyJPanel create()
        {
                return new MyJPanel();
        }
        private MyJPanel()
        {
        }
   }
   `
   
   If I select find usages of the method create, netbeans reports zero usages; 
however I can manually navigate to the file that calls this create method.
   Is this because the method is static? Find usages seems to work for some 
other methods that I've checked (non-static). I don't know if it's just this 
scenario where it's broken or other places too, so I'm nervous about trusting 
the accuracy of the find usages feature.
   
   ### How to reproduce
   
   As per problem description. This feature used to work ok under netbeans 8.1.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.3 or earlier
   
   ### Operating System
   
   Win 10 Pro
   
   ### JDK
   
   jdk1.8.0_111 32-bit (required as minimum supported version for our system)
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   Happens all the time.
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to