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?

Thanks.

1 comment

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.

0

Please sign in to leave a comment.