Null Checker на addall java
Optional.ofNullable(listToBeAdded).ifPresent(listToBeAddedTo::addAll)
Talented Tarantula
Optional.ofNullable(listToBeAdded).ifPresent(listToBeAddedTo::addAll)