Package net.bytebuddy.asm
Interface Advice.Delegator.Factory
- All Known Implementing Classes:
Advice.Delegator.ForDynamicInvocation.Factory
,Advice.Delegator.ForRegularInvocation.Factory
- Enclosing interface:
Advice.Delegator
public static interface Advice.Delegator.Factory
A factory for creating a
Advice.Delegator
.-
Method Summary
Modifier and TypeMethodDescriptionmake
(MethodDescription.InDefinedShape adviceMethod, boolean exit) Resolves a delegator.
-
Method Details
-
make
Resolves a delegator.- Parameters:
adviceMethod
- The advice method.exit
-true
if the advice is applied as exit advice.- Returns:
- An appropriate delegator.
-