You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "sdedic (via GitHub)" <gi...@apache.org> on 2023/08/02 05:53:35 UTC

[GitHub] [netbeans] sdedic opened a new issue, #6284: SPI to mark methods as used.

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

   ### Description
   
   NetBeans detects unused methods and reports that - for private and package-private methdos. But framework libraries sometimes honour annotations (i.e. injections or bindings) on even private methods. There should be an SPI how to mark a MethodElement unused - the "unused" hint would then not display. 
   
   ### Use case/motivation
   
   Hints should not mark methods as unused, if they are target of injection or remote/framework call etc.
   
   ### Related issues
   
   #6277
   
   ### Are you willing to submit a pull request?
   
   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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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