IntelliJ IDEA IDE “Find Usages” Algorithm

Hi guys,

Does anyone know what is the method or algorithm used by IntelliJ IDEA for the Find Usages tool (i.e. right click on any method > Find Usages).
How is computed the set returned by the IDE?


1 comment
Comment actions Permalink

Hello Vince,

here is my understanding :

find usages usually returns collection of all symbols resolved to this one (usage of which we look for)

Symbol resolution implementation is language specific.

Find usages implementation via resolution can be overriden with custom lookup. E.g., using index.


Please sign in to leave a comment.