@HashCodeAndEqualsPlugin.Enhance public static class ToStringMethod.PrefixResolver.ForFixedValue extends Object implements ToStringMethod.PrefixResolver
ToStringMethod.PrefixResolver.Default, ToStringMethod.PrefixResolver.ForFixedValue| Modifier | Constructor and Description |
|---|---|
protected |
ForFixedValue(String prefix)
Creates a new prefix resolver that returns a fixed value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
resolve(TypeDescription instrumentedType)
Resolves the prefixed value.
|
protected ForFixedValue(String prefix)
prefix - The prefix to prepend.public String resolve(TypeDescription instrumentedType)
resolve in interface ToStringMethod.PrefixResolverinstrumentedType - The instrumented type.Copyright © 2014–2023. All rights reserved.