Java 8 - Avoid null pointer exception on object calls

Optional.ofNullable().orElse(new ())).toString();