code: @Override
    public void write(Fields fields) throws IOException {
      delegateFieldsConsumer.write(fields);
      write(state.fieldInfos, fields);
    }
docs: /*
  (non-Javadoc)
  
  @see org.apache.lucene.codecs.FieldsConsumer#write(org.apache.lucene.index.
  Fields )