aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJesse Wilson <jwilson@squareup.com>2015-01-18 17:46:11 -0500
committerJesse Wilson <jwilson@squareup.com>2015-01-18 17:46:11 -0500
commit58713e4d5e2e2da01440068a6e67d7401124f05b (patch)
treeb11255fc5fc3073f9d168d3a0667c6ca23063f63 /README.md
parentecd44b34a345a672b150b73d796fbd2b321d7260 (diff)
downloadjavapoet-58713e4d5e2e2da01440068a6e67d7401124f05b.tar.gz
Link to JavaWriter.
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index c876661..8b427ff 100644
--- a/README.md
+++ b/README.md
@@ -92,5 +92,18 @@ License
+JavaWriter
+==========
+
+JavaPoet is the successor to [JavaWriter][javawriter]. New projects should prefer JavaPoet because
+it has a stronger code model: it understands types and can manage imports automatically. JavaPoet is
+also better suited to composition: rather than streaming the contents of a `.java` file
+top-to-bottom in a single pass, a file can be assembled as a tree of declarations.
+
+JavaWriter continues to be available in [GitHub][javawriter] and [Maven Central][javawriter_maven].
+
+
[dl]: https://search.maven.org/remote_content?g=com.squareup&a=javapoet&v=LATEST
[snap]: https://oss.sonatype.org/content/repositories/snapshots/
+ [javawriter]: https://github.com/square/javapoet/tree/javawriter_2
+ [javawriter_maven]: http://search.maven.org/#artifactdetails%7Ccom.squareup%7Cjavawriter%7C2.5.1%7Cjar