void completeProcessing() {
    for (Runnable r : afterProcessing.values()) {
      r.run();
    }
    afterProcessing.clear();
    currentState.remove();
  }
Next iteration of the same flawed design in hopes to untangle it at least a bit.
generator/src/org/immutables/generator/EnvironmentState.java