In my plugin I have created a reference using PsiReferenceContributor, PsiReferenceProvider and PsiReferenceBase. When I put my mouse over the element, the resolve() method is invoked multiple times (from 4 to 6 times). Is this a normal thing?
- I ensured that I have registered only once.
- I also ensured that it's not something to do with ElementPattern.
My plugin works with no issues, but I just wanted to know why resolve() is invoked randomly multiple times.