Search code examples
intellij-ideaintellij-plugin

check mutiple method usage at once in intellij


is it possible to check the usage for multiple methods in a class at once in Intellij? For example, class A has 100 methods. Instead of going over each single method and check if it is used, can we actually check some or all of usages for methods in this class at once in Intellij?


Solution

  • If you are purely looking for methods that are unused, and there are no errors in the source, you can just use F2 to jump between them.

    Unused methods will be highlighted grey, with an underline.