@HashCodeAndEqualsPlugin.Enhance protected static class Advice.Delegator.ForDynamicInvocation.Factory extends Object implements Advice.Delegator.Factory
Modifier | Constructor and Description |
---|---|
protected |
Factory(MethodDescription.InDefinedShape bootstrapMethod,
Advice.BootstrapArgumentResolver.Factory resolverFactory)
Creates a factory for a dynamic invocation dispatcher.
|
Modifier and Type | Method and Description |
---|---|
Advice.Delegator |
make(MethodDescription.InDefinedShape adviceMethod,
boolean exit)
Resolves a delegator.
|
protected Factory(MethodDescription.InDefinedShape bootstrapMethod, Advice.BootstrapArgumentResolver.Factory resolverFactory)
bootstrapMethod
- The bootstrap method.resolverFactory
- A resolver factory to provide the arguments to the bootstrap method.public Advice.Delegator make(MethodDescription.InDefinedShape adviceMethod, boolean exit)
make
in interface Advice.Delegator.Factory
adviceMethod
- The advice method.exit
- true
if the advice is applied as exit advice.Copyright © 2014–2024. All rights reserved.