method name could be more straightforward, e.g. addArgIfProvided (or IfAvailable, or IfPresent...)