fix test data
fix test data
cleanup, tiny optimisation
cleanup
NPE
cleanup, tiny optimisation
Find usages optimisation to get first usages faster.
When searching for usages of 'm', first scan files which contain the name of the container of 'm' (e.g. 'PsiManager' if we are searching for PsiManager.getInstance() usages), and then all the remaining files. This optimisation relies on the correct implementation of com.intellij.codeInsight.ContainerProvider for particular language.
revert assertion
memory leak fixed
EA-50446 (code fixed; test coverage increased)