Interface MethodDelegation.ImplementationDelegate.Compiled

All Known Implementing Classes:
MethodDelegation.ImplementationDelegate.Compiled.ForConstruction, MethodDelegation.ImplementationDelegate.Compiled.ForField, MethodDelegation.ImplementationDelegate.Compiled.ForMethodReturn, MethodDelegation.ImplementationDelegate.Compiled.ForStaticCall
Enclosing interface:
MethodDelegation.ImplementationDelegate

public static interface MethodDelegation.ImplementationDelegate.Compiled
A compiled implementation delegate.
  • Method Details

    • prepare

      StackManipulation prepare(MethodDescription instrumentedMethod)
      Resolves a stack manipulation that prepares the delegation invocation.
      Parameters:
      instrumentedMethod - The instrumented method.
      Returns:
      A stack manipulation that is applied prior to loading arguments and executing the method call.
    • invoke

      Resolves an invoker to use for invoking the delegation target.
      Returns:
      The method invoker to use.
    • getRecords

      Returns a list of binding records to consider for delegation.
      Returns:
      A list of delegation binder records to consider.