Adds a name/value pair to the formatted output in name=value format. If value is null, the string "null" is used, unless #omitNullValues() is called, in which case this name/value pair will not be added.
(String name, @Nullable Object value)
| 232 | */ |
| 233 | |
| 234 | @CanIgnoreReturnValue |
| 235 | public ToStringHelper add(String name, @Nullable Object value) { |
| 236 | return addHolder(name, value); |
| 237 | } |
| 238 | |
| 239 | /** |
| 240 | * Adds a name/value pair to the formatted output in {@code name=value} format. |