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.
  • 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 the target method.
      target - The target method that is subject to be bound by the source method.
      Returns:
      A stack manipulation that is applied after the method return.