Package net.bytebuddy.implementation
Interface ToStringMethod.PrefixResolver
-
- All Known Implementing Classes:
ToStringMethod.PrefixResolver.Default,ToStringMethod.PrefixResolver.ForFixedValue
- Enclosing class:
- ToStringMethod
public static interface ToStringMethod.PrefixResolverA prefix resolver is responsible for providing a value that is prepended to aObject.toString()implementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classToStringMethod.PrefixResolver.DefaultDefault implementations for a prefix resolver.static classToStringMethod.PrefixResolver.ForFixedValueA prefix resolver that returns a fixed value.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringresolve(TypeDescription instrumentedType)Resolves the prefixed value.
-
-
-
Method Detail
-
resolve
java.lang.String resolve(TypeDescription instrumentedType)
Resolves the prefixed value.- Parameters:
instrumentedType- The instrumented type.- Returns:
- The value to be prefixed.
-
-