The editor already has that function, though you need to be very
pragmatic when you are writing your classes.
It is can only been determined for private methods safely whatever is
public/package private are can be potentially called from outside. The
current usage can be checked the find usag
It's possible, intelij does it, it's just a question if netbeans does it.
If not I'd advise raising a new Jira or adding the functionality yourself
if you have the expertise. Netbeans definitely highlights unused methods
and fields to a certain extent.
On Mon, 10 Jun 2019, 17:38 Greenberg, Gary,
I do not think it feasible, because methods (unless they are private) can be
called from outside of the class.
Editor have to parse the whole project or may be more than one, if this project
listed as dependency in another one.
You can always check if particular method is used, using ‘Find usage’