Interface Advice.BootstrapArgumentResolver
- All Known Implementing Classes:
Advice.BootstrapArgumentResolver.ForDefaultValues
- Enclosing class:
Advice
public static interface Advice.BootstrapArgumentResolver
A resolver for the arguments that are provided to a bootstrap method if dynamic dispatch is used.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA factory for creating aAdvice.BootstrapArgumentResolver.static classAn argument resolver that supplies a default selection of arguments. -
Method Summary
Modifier and TypeMethodDescriptionresolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the constants that are provided as arguments to the bootstrap methods.
-
Method Details
-
resolve
Resolves the constants that are provided as arguments to the bootstrap methods.- Parameters:
instrumentedType- The instrumented type.instrumentedMethod- The instrumented method.- Returns:
- A list of constants to supply as arguments to the bootstrap method.
-