@SuppressWarnings({"rawtypes","unchecked"}) public SpanMultiTermQueryWrapper(Q query){
  this.query=Objects.requireNonNull(query);
  this.rewriteMethod=selectRewriteMethod(query);
}

@ SuppressWarnings ( { "rawtypes" , "unchecked" } ) public SpanMultiTermQueryWrapper ( Q query ) { this . query = Objects . requireNonNull ( query ) ; this . rewriteMethod = selectRewriteMethod ( query ) ; }
create a new spanmultitermquerywrapper .
