detect unused public methods?

Help
Anonymous
2011-01-18
2013-02-05

  • Anonymous
    2011-01-18

    I see several mentions on the net of using FindBugs to detect unused public methods (modulo those  called by reflection etc). But I also see some others asking how this can be done in FindBugs.

    Is it possible to do this in FindBugs? How?

     
  • Keith Lea
    Keith Lea
    2011-01-20

    No, unfortunately this is not possible. FindBugs will find unused fields but not methods.