continue;
    void writeGFF(ObjectStore os, File destinationDirectory)        throws ObjectStoreException, IOException, IllegalSymbolException {        Results results =            PostProcessUtil.findLocations(os, Chromosome.class, BioEntity.class, false);        Iterator resIter = results.iterator();        PrintWriter gffWriter = null;        // a Map of object classes to counts        Map objectCounts = null;        // Map from Transcript to Location (on Chromosome)        Map seenTranscripts = new HashMap();        // Map from exon to Location (on Chromosome)        Map seenExons = new HashMap();        // the last Chromosome seen        Integer currentChrId = null;        Chromosome currentChr = null;        while (resIter.hasNext()) {            ResultsRow rr = (ResultsRow) resIter.next();            Integer resultChrId = (Integer) rr.get(0);            BioEntity feature = (BioEntity) rr.get(1);            Location loc = (Location) rr.get(2);            if (currentChrId == null || !currentChrId.equals(resultChrId)) {                if (currentChrId != null) {                    writeTranscriptsAndExons(os, gffWriter, currentChr, seenTranscripts, seenExons);                    seenTranscripts = new HashMap();                    seenExons = new HashMap();                }                currentChr = (Chromosome) os.getObjectById(resultChrId);                writeChromosomeFasta(destinationDirectory, currentChr);                File gffFile = chromosomeGFFFile(destinationDirectory, currentChr);                if (gffWriter != null) {                    gffWriter.close();                }                gffWriter = new PrintWriter(new FileWriter(gffFile));                writeFeature(gffWriter, currentChr, currentChr, null, new Integer(0), null);                objectCounts = new HashMap();                currentChrId = resultChrId;            }            if (feature instanceof Transcript) {                seenTranscripts.put(feature, loc);                               continue;            }                    if (feature instanceof Exon) {                seenExons.put(feature, loc);                continue;            }            writeFeature(gffWriter, currentChr, feature, loc,                         (Integer) objectCounts.get(feature.getClass()), null);                         incrementCount(objectCounts, feature);        }        writeTranscriptsAndExons(os, gffWriter, currentChr, seenTranscripts, seenExons);        gffWriter.close();    }