public static InvocationHandlerAdapter toField(String name) {
        return toField(name, FieldLocator.ForClassHierarchy.Factory.INSTANCE);
    }
public static InvocationHandlerAdapter toField ( String name ) { return toField ( name , FieldLocator . ForClassHierarchy . Factory . INSTANCE ) ; }
Creates an implementation for any {@link java.lang.reflect.InvocationHandler} that delegates
all method interceptions to a field with the given name. This field has to be of a subtype of invocation
handler and needs to be set before any invocations are intercepted. Otherwise, a {@link java.lang.NullPointerException}
will be thrown.

@param name The name of the field.
@return An implementation that delegates all method interceptions to an instance field of the given name.