PsiElement () { PsiFile mirrorFile = ((ClsFileImpl)getContainingFile()).getMirror().getContainingFile(); Pair<TextRange, Identikit.ByType> mirror = myMirror; return mirror == null ? null : mirror.second.findPsiElement(mirrorFile, mirror.first.getStartOffset(), mirror.first.getEndOffset()); }