Null Checker en Addall Java

Optional.ofNullable(listToBeAdded).ifPresent(listToBeAddedTo::addAll)
Talented Tarantula