@Deprecated
  public static <T> void consumeIfNotNull(@Nullable T obj, @NotNull Consumer<? super T> consumer) {
    if (obj != null) {
      consumer.consume(obj);
    }
  }
@Deprecated
  public static <T> void consumeIfNotNull(@Nullable T obj, @NotNull Consumer<? super T> consumer)