Get psiFile from toolWindow

Hi,

I'm pretty new at this so maybe this is a basic question - sorry about that.
I created my own tool window and i'd like to parse all annotations from the current opened class.
In order to do this i need to get the PSI class in my tool window code. How can i do this? I already have the editor, can i get psifile from an editor? how?

Thanks

---
Original message URL: http://devnet.jetbrains.net/message/5478446#5478446

Please sign in to leave a comment.