@NotNull
  private static String getNamePattern(@NotNull ChooseByNameViewModel base, @NotNull String pattern) {
    String transformedPattern = base.transformPattern(pattern);
    return getNamePattern(base.getModel(), transformedPattern);
  }
@NotNull
  private static String getNamePattern(@NotNull ChooseByNameViewModel base, @NotNull String pattern)