code: public DiscriminatorJdbcSubBuilder when(Predicate<String> predicate, Type type) {
          final DiscriminatorJdbcSubBuilder subBuilder = new DiscriminatorJdbcSubBuilder(predicate, type);
          builders.add(subBuilder);
          return subBuilder;
      }
docs: Add a discriminator matching predicate with its associated type.
  @param predicate the predicate
  @param type the type
  @return the current builder