code: @Override
     public Query rewrite(IndexReader reader) throws IOException
     {
        Query cQuery = context.rewrite(reader);
        if (cQuery == context) // NOSONAR
        {
           return this;
        }
        else
        {
           return new NotQuery(cQuery);
        }
     }
docs: {@inheritDoc}