if (rec != null) { if ((now == 0) || !rec.isExpired(now)) { writeRecord(rec, now); numAnswers++; }
if (!rec.suppressedBy(in)) { addAnswer(rec, 0);
    void addAnswer(DNSRecord rec, long now) throws IOException {        if (numAuthorities > 0 || numAdditionals > 0) {            throw new IllegalStateException("Questions must be added before answers");        }        if (rec != null) {            if ((now == 0) || !rec.isExpired(now)) {                writeRecord(rec, now);                numAnswers++;            }        }    }