public @NotNull Field withNamePattern(@NotNull Pattern pattern) {
    myNamePattern = pattern.pattern().equals(PATTERN_ANYTHING.pattern()) ? PATTERN_ANYTHING : pattern;
    return this;
  }
public @NotNull Field withNamePattern(@NotNull Pattern pattern)