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).
Please sign in to leave a comment.
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
Thanks, helped.