private static @Nullable PsiFile parentFileOf(final PsiClass psiClass) {
    return psiClass.getContainingClass() == null ? psiClass.getContainingFile() : null;
  }
private static @Nullable PsiFile parentFileOf(final PsiClass psiClass)