@Nullable
  private static PsiFile calculatePsiFile(@NotNull PsiClass psiClass) {
    PsiFile psiFile = psiClass.getContainingFile();
    if (psiFile != null) {
      psiFile = psiFile.getOriginalFile();
    }
    return psiFile;
  }
@Nullable
  private static PsiFile calculatePsiFile(@NotNull PsiClass psiClass)