PSI and refactoring

We have an web-language which contains references to (related) java files (like JSP).
Ist it possible to write an plugin for being attached to the java-PSI? Means the the references are being found in "findUsages", allowing to take part in refactoring, etc.
If yes, how to start writing it?

Thanks,
Sven

Please sign in to leave a comment.