Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
static class |
ToStringMethod.PrefixResolver.Default
Default implementations for a prefix resolver.
|
static class |
ToStringMethod.PrefixResolver.ForFixedValue
A prefix resolver that returns a fixed value.
|
Modifier and Type | Field and Description |
---|---|
private ToStringMethod.PrefixResolver |
ToStringMethod.prefixResolver
A resolver for the prefix of a
String representation. |
Modifier and Type | Method and Description |
---|---|
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. |
Constructor and Description |
---|
ToStringMethod(ToStringMethod.PrefixResolver prefixResolver)
Creates a new
toString implementation. |
ToStringMethod(ToStringMethod.PrefixResolver prefixResolver,
java.lang.String start,
java.lang.String end,
java.lang.String separator,
java.lang.String definer,
ElementMatcher.Junction<? super FieldDescription.InDefinedShape> ignored)
Creates a new
toString implementation. |