Interface MethodDelegationBinder.TerminationHandler
- All Known Implementing Classes:
MethodDelegationBinder.TerminationHandler.Default
- Enclosing interface:
- MethodDelegationBinder
public static interface MethodDelegationBinder.TerminationHandler
A termination handler is responsible for terminating a method delegation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Responsible for creating aStackManipulation
that is applied after the interception method is applied. -
Method Summary
Modifier and TypeMethodDescriptionresolve
(Assigner assigner, Assigner.Typing typing, MethodDescription source, MethodDescription target) Creates a stack manipulation that is to be applied after the method return.
-
Method Details
-
resolve
StackManipulation resolve(Assigner assigner, Assigner.Typing typing, MethodDescription source, MethodDescription target) Creates a stack manipulation that is to be applied after the method return.- Parameters:
assigner
- The supplied assigner.typing
- The typing to apply.source
- The source method that is bound to thetarget
method.target
- The target method that is subject to be bound by thesource
method.- Returns:
- A stack manipulation that is applied after the method return.
-