boolean (@NotNull PsiMethod method, final int argumentIdx) { final boolean[] result = {false}; searchNullArgument(method, argumentIdx, expression -> { result[0] = true; return false; }); return result[0]; }