Interface Advice.StackMapFrameHandler.ForInstrumentedMethod

    • Method Detail

      • getReaderHint

        int getReaderHint()
        Returns a hint to supply to a ClassReader when parsing an advice method.
        Returns:
        The reader hint to supply to an ASM class reader.
      • injectInitializationFrame

        void injectInitializationFrame​(org.objectweb.asm.MethodVisitor methodVisitor)
        Injects a frame after initialization if any initialization is performed.
        Parameters:
        methodVisitor - The method visitor to write any frames to.
      • injectStartFrame

        void injectStartFrame​(org.objectweb.asm.MethodVisitor methodVisitor)
        Injects a frame before executing the instrumented method.
        Parameters:
        methodVisitor - The method visitor to write any frames to.
      • injectPostCompletionFrame

        void injectPostCompletionFrame​(org.objectweb.asm.MethodVisitor methodVisitor)
        Injects a frame indicating the completion of the currently handled method, i.e. all yielded types were added.
        Parameters:
        methodVisitor - The method visitor onto which to apply the stack map frame.