docs: public static <T extends ContentMeta> ResourceSelector<T> composeSelector(final ResourceSelector<T> a,
              final ResourceSelector<T> b, final boolean and) {
          return new ResourceSelector<T>() {
              @Override
              public boolean matchesContent(T content) {
                  boolean a1 = a.matchesContent(content);
                  if (a1 && !and || !a1 && and) {
                      return a1;
                  }
                  return b.matchesContent(content);
              }
          };
      }