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 Classes Modifier and Type Interface Description static class
MethodDelegationBinder.TerminationHandler.Default
Responsible for creating aStackManipulation
that is applied after the interception method is applied.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackManipulation
resolve(Assigner assigner, Assigner.Typing typing, MethodDescription source, MethodDescription target)
Creates a stack manipulation that is to be applied after the method return.
-
-
-
Method Detail
-
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.
-
-