static ToStringMethod |
ToStringMethod.prefixedBy(java.lang.String prefix) |
Creates a Object.toString() implementation that is prefixed by the supplied string.
|
static ToStringMethod |
ToStringMethod.prefixedBy(ToStringMethod.PrefixResolver prefixResolver) |
Creates a Object.toString() implementation that is prefixed by the string that is supplied by the given prefix resolver.
|
static ToStringMethod |
ToStringMethod.prefixedByCanonicalClassName() |
Creates a Object.toString() implementation that is prefixed by the canonical class name of the instrumented type.
|
static ToStringMethod |
ToStringMethod.prefixedByFullyQualifiedClassName() |
Creates a Object.toString() implementation that is prefixed by the fully qualified class name of the instrumented type.
|
static ToStringMethod |
ToStringMethod.prefixedBySimpleClassName() |
Creates a Object.toString() implementation that is prefixed by the simple class name of the instrumented type.
|
ToStringMethod |
ToStringMethod.withIgnoredFields(ElementMatcher<? super FieldDescription.InDefinedShape> ignored) |
Returns a new version of this toString method implementation that ignores the specified fields additionally to any
previously specified fields.
|