Null
  private static List<PsiType> getAbstractSealedTypes(@NotNull List<PsiType> selectorTypes) {
    return selectorTypes.stream()
      .filter(type -> {
        PsiClass psiClass = PsiUtil.resolveClassInClassTypeOnly(TypeConversionUtil.erasure(type));
        return psiClass != null && (isAbstractSealed(psiClass));
      })
      .toList();
  }

  
Null
  private static List<PsiType> getAbstractSealedTypes(@NotNull List<PsiType> selectorTypes) {
 