public GenericDomValuePattern<T> withStringValue(final ElementPattern<String> pattern) {
    return with(new PatternCondition<>("withStringValue") {
      @Override
      public boolean accepts(final @NotNull GenericDomValue<T> genericDomValue, final ProcessingContext context) {
        return pattern.accepts(genericDomValue.getStringValue(), context);
      }
    });
  }
public GenericDomValuePattern<T> withStringValue(final ElementPattern<String> pattern)