Let me describe the task. I'm trying to provide some references for custom tag attributes.
The tag has 2 main attributes: bean and property. Into bean attribute one can pass any JavaBean, and my goal is to provide auto-completion in property attribute.
So bean attribute can be either EL or JSP expression. In PsiReferenceProvider / PsiReference implementation i wanna know the class of bean to collect available methods of that class and provide variants for my reference.
Question is - what is the best way of resolving/evaluating result of EL / JSP expression ?