aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPeter Donald <peter@realityforge.org>2018-07-11 13:19:09 +1000
committerGitHub <noreply@github.com>2018-07-11 13:19:09 +1000
commit46a6a6e2db009e98fed755ecf95bc5264635840d (patch)
tree6b1525dad4622c80142345ccb1d5ead9422bd144 /README.md
parent564f37f35f1dd85bcc22e775b9eb3631d865bdee (diff)
downloadjavapoet-46a6a6e2db009e98fed755ecf95bc5264635840d.tar.gz
Replace incorrect usage of anonymousInnerClass
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1dffbad..788ce48 100644
--- a/README.md
+++ b/README.md
@@ -674,7 +674,7 @@ public enum Roshambo {
### Anonymous Inner Classes
-In the enum code, we used `Types.anonymousInnerClass()`. Anonymous inner classes can also be used in
+In the enum code, we used `TypeSpec.anonymousInnerClass()`. Anonymous inner classes can also be used in
code blocks. They are values that can be referenced with `$L`:
```java