Package net.bytebuddy.asm
Interface Advice.BootstrapArgumentResolver.Factory
- All Known Implementing Classes:
Advice.BootstrapArgumentResolver.ForDefaultValues.Factory
- Enclosing interface:
Advice.BootstrapArgumentResolver
public static interface Advice.BootstrapArgumentResolver.Factory
A factory for creating a
Advice.BootstrapArgumentResolver
.-
Method Summary
Modifier and TypeMethodDescriptionresolve
(MethodDescription.InDefinedShape adviceMethod, boolean exit) Creates a bootstrap argument resolver for a given advice.
-
Method Details
-
resolve
Advice.BootstrapArgumentResolver resolve(MethodDescription.InDefinedShape adviceMethod, boolean exit) Creates a bootstrap argument resolver for a given advice.- Parameters:
adviceMethod
- The advice method.exit
-true
if the method is bound as exit advice.- Returns:
- An appropriate bootstrap argument resolver.
-