bobvawter/JsonDdl — Issue #5: How should Builders behave after build()?
Author: bobvawter
Created: 2011-11-18 04:20:28+00:00
State: open

Options:

* build() just returns an immutable copy of the state of the builder and the builder stays useful
* Problematic if a reference to the builder has escaped into other contexts as its type interface since getters are no longer fixed
* Mutators stop working, but all other methods delegate to immutable, built object
* Let the Builder just die when build() is called
* Again, problematic if the Builder has escaped, but it's the simplest to explain