boolean (@NotNull PsiExpression argument) { final Nullability nullability = NullabilityUtil.getExpressionNullability(argument, true); if (nullability == Nullability.NULLABLE) return true; if (argument instanceof PsiReferenceExpression referenceExpression) { final PsiElement target = referenceExpression.resolve(); if (target instanceof PsiModifierListOwner) { if (NullableNotNullManager.isNullable((PsiModifierListOwner)target)) { return true; } } } return false; }