<PLEASE NOTE Java Writer has officially been shut down in May, 2015>
JavaWriter is a utility class which aids in generating Java source files.
Source file generation can useful when doing things such as annotation processing or interacting with metadata files (e.g., database schemas, protocol formats). By generating code, you eliminate the need to write boilerplate while also keeping a single source of truth for the metadata.
SDK for Android
New: Methods in interfaces will always have no body declaration.
New: Control flow begin declaration now supports String format arguments.
Fix: Truncate any generic type when emitting constructors.
Fix: Do not emit trailing whitespace after '=' at end-of-line.