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, <ggree...@visa.com> wrote: > 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’ > feature. > > > > Gary Greenberg > > Staff Software Engineer > > Data Product Development, BI-A > > E: ggree...@visa.com > > M: 650-269-7902 > > > > [image: EmailSig-TaglineVersion] > > > > *From:* Mohammad Mohsen Nourafkan <mohsen.n...@gmail.com> > *Sent:* Monday, June 10, 2019 5:47 AM > *To:* users@netbeans.apache.org > *Subject:* Unused method highlighting > > > > Hi everyone > > Is there possible to highlight those methods never called in editor > Thanks > > -- > > MOHSENTM >