Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Method and Description |
---|---|
static ToStringMethod |
ToStringMethod.prefixedBy(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.
|
Copyright © 2014–2019. All rights reserved.