@Override public void classEnd() throws Exception { for (ClassDataCollector cd : shortlist) try { cd.classEnd(); } catch (Exception e) { reporter.error("Fail to call classEnd on %s", cd); } shortlist.clear(); }