code: public DiscriminatorJdbcSubBuilder when(String value, Type type) {
          return when(new DiscriminatorPredicate(value), type);
      }
docs: Add a discriminator value with its associated type.
  @param value the value
  @param type the type
  @return the current builder