public static MethodDelegation toField(String name, MethodGraph.Compiler methodGraphCompiler) {
        return withDefaultConfiguration().toField(name, methodGraphCompiler);
    }
public static MethodDelegation toField ( String name , MethodGraph . Compiler methodGraphCompiler ) { return withDefaultConfiguration ( ) . toField ( name , methodGraphCompiler ) ; }
Delegates any intercepted method to invoke a non-{@code static} method on the instance of the supplied field. To be
considered a valid delegation target, a method must be visible and accessible to the instrumented type. This is the
case if the method's declaring type is either public or in the same package as the instrumented type and if the method
is either public or non-private and in the same package as the instrumented type. Private methods can only be used as
a delegation target if the delegation is targeting the instrumented type.

@param name                The field's name.
@param methodGraphCompiler The method graph compiler to use.
@return A delegation that redirects invocations to a method of the specified field's instance.