public void setState(@NotNull SearchQueryParser.Marketplace parser) {
      if (myOption == SortBy.RELEVANCE) {
        myState = parser.sortBy == null;
        myVisible = parser.sortBy == null || !parser.tags.isEmpty() || !parser.vendors.isEmpty() || parser.searchQuery != null;
      }
      else {
        myState = parser.sortBy != null && myOption == parser.sortBy;
        myVisible = true;
      }
    }
public void setState(@NotNull SearchQueryParser.Marketplace parser)