Class Advice.Dispatcher.Inlining.Resolved.ForMethodExit.AdviceMethodInliner

    • Constructor Detail

      • AdviceMethodInliner

        public AdviceMethodInliner​(TypeDescription instrumentedType,
                                   MethodDescription instrumentedMethod,
                                   org.objectweb.asm.MethodVisitor methodVisitor,
                                   Implementation.Context implementationContext,
                                   Assigner assigner,
                                   Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
                                   Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
                                   Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler,
                                   org.objectweb.asm.ClassReader classReader)
        Creates a new advice method inliner for a method exit.
        Parameters:
        instrumentedType - A description of the instrumented type.
        instrumentedMethod - A description of 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.
        suppressionHandler - A bound suppression handler that is used for suppressing exceptions of this advice method.
        classReader - A class reader for parsing the class file containing the represented advice method.