MCPcopy Create free account
hub / github.com/antlr/codebuff / add

Method add

output/java_guava/1.4.19/Objects.java:234–237  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 2

addHolderMethod · 0.95
valueOfMethod · 0.45

Tested by

no test coverage detected