title: Implementing a JavaC compiler plugin that runs after all analysis is done
body: <p>I'm writing a plug in that builds some auxiliary data during the analysis phase, and once all files/classes are analyzed, I want to run a process over all my data.</p>
  
  <p>The compiler framework today only sends (via TaskListener) <code>ANALYZE</code> and <code>GENERATE</code> events, one per compile unit. I'm surprised that I get <code>ANALYZE</code> then <code>GENERATE</code> events per compile unit, vs all <code>ANALYZE</code> events, then followed by all <code>GENERATE</code> events.</p>
  
  <p>What I'd like is a single event that says "all analysis is done", but there doesn't seem to be such an event.</p>
  
  <p>What is the right way to do something like this?</p>