private boolean hasNullability(@NotNull PsiModifierListOwner owner) {
        NullableNotNullManager manager = NullableNotNullManager.getInstance(owner.getProject());
        NullabilityAnnotationInfo info = manager.findEffectiveNullabilityInfo(owner);
        if (info != null && !info.isInferred() && info.getNullability() != Nullability.UNKNOWN) return true;

        PsiType type = getType(owner);
        if (type == null) return false;

        return hasNullability(type);
    }
private boolean hasNullability(@NotNull PsiModifierListOwner owner)