code: public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, Class<T> type) {
      return new OptionalBinder<T>(
          newRealOptionalBinder(binder.skipSources(OptionalBinder.class), Key.get(type)));
    }
docs: This class is non-final due to users mocking this in tests :(