code: public static <T> T consumeAndGetSelf(T target,
              Consumer<T> targetConsumer) {
          targetConsumer.accept(target);
          return target;
      }
docs: Consume and get self t.
  
  @param <T>            the type parameter
  @param target         the target
  @param targetConsumer the target consumer
  @return the t