Interface MemberSubstitution.Substitution.Factory<S extends MemberSubstitution.Target>

    • Method Detail

      • make

        MemberSubstitution.Substitution<? super S> make​(TypeDescription instrumentedType,
                                                        MethodDescription instrumentedMethod,
                                                        TypePool typePool)
        Creates a substitution for an instrumented method.
        Parameters:
        instrumentedType - The instrumented type.
        instrumentedMethod - The instrumented method.
        typePool - The type pool being used.
        Returns:
        The substitution to apply within the instrumented method.