@Deprecated
    @Nullable
    @Contract(value = "null -> null; !null -> !null", pure = true)
    public static <T> Consumer<T> wrap(@Nullable Consumer<T> consumer) {
        return wrapConsumer(consumer);
    }
wrap {@link Consumer} to TTL wrapper.

@param consumer input {@link Consumer}
@return Wrapped {@link Consumer}
@see TtlUnwrap#unwrap(Object)
@since 2.11.4
@deprecated overload methods using the same name {@code wrap} is not readable
and have the type inference problems in some case;
so use {@link TtlWrappers#wrapConsumer(java.util.function.Consumer)} instead.
ttl2-compatible/src/main/java/com/alibaba/ttl/TtlWrappers.java