public @Nullable PsiFile getCachedMirror() {
    TreeElement mirrorTreeElement = dereference(myMirrorFileElement);
    return mirrorTreeElement == null ? null : (PsiFile)mirrorTreeElement.getPsi();
  }
public @Nullable PsiFile getCachedMirror()