Interface Advice.Dispatcher.Resolved

    • Method Detail

      • bind

        Advice.Dispatcher.Bound bind​(TypeDescription instrumentedType,
                                     MethodDescription instrumentedMethod,
                                     org.objectweb.asm.MethodVisitor methodVisitor,
                                     Implementation.Context implementationContext,
                                     Assigner assigner,
                                     Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
                                     Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
                                     StackManipulation exceptionHandler)
        Binds this dispatcher for resolution to a specific method.
        Parameters:
        instrumentedType - The instrumented type.
        instrumentedMethod - The instrumented method.
        methodVisitor - The method visitor for writing the instrumented method.
        implementationContext - The implementation context to use.
        assigner - The assigner to use.
        methodSizeHandler - A handler for computing the method size requirements.
        stackMapFrameHandler - A handler for translating and injecting stack map frames.
        exceptionHandler - The stack manipulation to apply within a suppression handler.
        Returns:
        A dispatcher that is bound to the instrumented method.