public static final <T> Function<Object,T> replaceWith(final T object) {
        return new ReplaceWith<T>(object);
    }
public static final < T > Function < Object , T > replaceWith ( final T object ) { return new ReplaceWith < T > ( object ) ; }
<p>
Replaces the target object with the object specified as a parameter.
</p>

@param object the replacement object
@return the replacement object