Interface MemberSubstitution.Replacement.Factory

    • Method Detail

      • make

        MemberSubstitution.Replacement make​(TypeDescription instrumentedType,
                                            MethodDescription instrumentedMethod,
                                            TypePool typePool)
        Creates a replacement for an instrumented method.
        Parameters:
        instrumentedType - The instrumented type.
        instrumentedMethod - The instrumented method.
        typePool - The type pool being used within the member substitution being applied.
        Returns:
        A replacement to use within the supplied instrumented method.