@Contract(pure = true)
  public static short mask(@NotNull Collection<SearchContext> contexts) {
    short result = 0;
    for (SearchContext context : contexts) {
      result |= context.mask;
    }
    return result;
  }
@Contract(pure = true)
  public static short mask(@NotNull Collection<SearchContext> contexts)