public static boolean isClassWithExtendsOrImplements(@Nullable PsiClass psiClass) {
    if (psiClass == null) return false;
    return isNotEmpty(psiClass.getExtendsList()) || isNotEmpty(psiClass.getImplementsList());
  }
public static boolean isClassWithExtendsOrImplements(@Nullable PsiClass psiClass)