/**
* Returns true if the leaf of {@code exprPath} is non-null.
* Note that returning false does not necessarily mean that the expression can be null.
*/
public static boolean isDefinitelyNonNull(TreePath exprPath, Context context) {
NullnessValue val = DataFlow.expressionDataflow(exprPath, context, NULLNESS_PROPAGATION);
return val != null && val == NullnessValue.NONNULL;
}