private static void exportDocumentMethods(Collection<Field> fieldSet, Writer out, int ind) throws IOException {
        exportGetFieldCount(fieldSet, out, ind);
        exportGetField(out, ind);
        exportGetFieldValue(fieldSet, out, ind);
        exportSetFieldValue(out, ind);
        exportRemoveFieldValue(out, ind);
        exportIterator(fieldSet, out, ind);
        exportClear(fieldSet, out, ind);

    }
Exports the necessary overridden methods from Document/StructuredFieldValue
vespa-documentgen-plugin/src/main/java/com/yahoo/vespa/DocumentGenMojo.java