Interface AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper

    • Method Detail

      • wrap

        org.objectweb.asm.MethodVisitor wrap​(TypeDescription instrumentedType,
                                             MethodDescription instrumentedMethod,
                                             org.objectweb.asm.MethodVisitor methodVisitor,
                                             Implementation.Context implementationContext,
                                             TypePool typePool,
                                             int writerFlags,
                                             int readerFlags)
        Wraps a method visitor.
        Parameters:
        instrumentedType - The instrumented type.
        instrumentedMethod - The method that is currently being defined.
        methodVisitor - The original field visitor that defines the given method.
        implementationContext - The implementation context to use.
        typePool - The type pool to use.
        writerFlags - The ASM ClassWriter reader flags to consider.
        readerFlags - The ASM ClassReader reader flags to consider.
        Returns:
        The wrapped method visitor.