public SpanPositionCheckQuery(SpanQuery match) {
   this.match = Objects.requireNonNull(match);
 }
 /**
  * Constructor.
  *
  * @param innerSet Underlying DocIdSet
  * @param acceptDocs Allowed docs, all docids not in this set will not be returned by this
  *     DocIdSet
  */
 public BitsFilteredDocIdSet(DocIdSet innerSet, Bits acceptDocs) {
   super(innerSet);
   this.acceptDocs = Objects.requireNonNull(acceptDocs, "Bits must not be null");
 }