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

Method toStringHelper

output/java_guava/1.4.19/Objects.java:130–133  ·  view source on GitHub ↗

Creates an instance of ToStringHelper. This is helpful for implementing Object#toString(). Specification by example: // Returns "ClassName{" Objects.toStringHelper(this) .toString(); // Returns "ClassName{x=1}" Objects.toStringHelper(this) .a

(Object self)

Source from the content-addressed store, hash-verified

128 */
129
130 @Deprecated
131 public static ToStringHelper toStringHelper(Object self) {
132 return new ToStringHelper(self.getClass().getSimpleName());
133 }
134
135 /**
136 * Creates an instance of {@link ToStringHelper} in the same manner as

Callers

nothing calls this directly

Calls 1

getSimpleNameMethod · 0.45

Tested by

no test coverage detected