code: public static final <T> void doFor(Object bean, String property, Consumer<T> consumer)
      {
          T t = (T) getValue(bean, property);
          consumer.accept(t);
      }
docs: Executes consumer for property.
  @param <T>
  @param bean
  @param property
  @param consumer