void (@NotNull DfaValue value, @Nullable PsiExpression expression, @NotNull PsiElement context, @NotNull DfaMemoryState state) { if (context == myCodeFragmentMember && expression != null && returnedExpressions.stream().anyMatch(ret -> PsiTreeUtil.isAncestor(ret, expression, false))) { DfaNullability nullability = DfaNullability.fromDfType(state.getDfType(value)); boolean result = nullability == (nullsExpected ? DfaNullability.NULL : DfaNullability.NOT_NULL); if (!result) { dfaRunner.cancel(); } } }