Is there a way to detect if a file is part of a facet?

I have an XmlFile (and through it its corresponding VirtualFile) and would like to know if that file is part of a facet, i.e. I'm looking for the facet containing the file in question (if any).

0
2 comments

Can you take a look at WicketForge? and I think you just want WicketForgeFacet.isPresent(psiElement) validation.
WicketClassAnnotator java file in http://code.google.com/p/wicketforge/source/browse

0
Avatar
Permanently deleted user

Thanks, helped.

0

Please sign in to leave a comment.