@Override
  public PsiElement @NotNull [] getInstantiableConstructors(@NotNull PsiElement aClass) {
    if (!(aClass instanceof PsiClass theClass)) {
      throw new IllegalArgumentException("parameter should be an instance of PsiClass: " + aClass);
    }
    if (theClass.hasModifierProperty(PsiModifier.ABSTRACT)) {
      return PsiElement.EMPTY_ARRAY;
    }

    return Stream.of(theClass.getConstructors())
      .filter(c -> !c.hasModifierProperty(PsiModifier.PRIVATE))
      .toArray(s -> PsiElement.ARRAY_FACTORY.create(s));
  }
@Override
  public PsiElement @NotNull [] getInstantiableConstructors(@NotNull PsiElement aClass)