private static boolean shouldCreatePermitsList(List<PsiClass> inheritors, PsiFile parentFile) {
    return !ContainerUtil.and(inheritors, psiClass -> psiClass.getContainingFile() == parentFile);
  }
private static boolean shouldCreatePermitsList(List<PsiClass> inheritors, PsiFile parentFile)