docs: public static <T> Function<Object, T> returnConstant(final T constant) {
      return new Function<Object, T>() {
        @Override
        public T apply(Object ignored) {
          return constant;
        }
      };
    }