Interface Implementation.Simple.Dispatcher

  • Enclosing class:
    Implementation.Simple

    public static interface Implementation.Simple.Dispatcher
    A dispatcher for a simple Implementation, typically implemented as a lambda expression.
    • Method Detail

      • apply

        StackManipulation apply​(Implementation.Target implementationTarget,
                                MethodDescription instrumentedMethod)
        Creates a stack manipulation from a simple method dispatch.
        Parameters:
        implementationTarget - The implementation target to use.
        instrumentedMethod - The instrumented method.
        Returns:
        The stack manipulation to apply.