diff options
author | Jan <it@janrieke.de> | 2019-01-19 14:48:09 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-01-21 21:55:56 +0100 |
commit | 1a2a3052310b1dc12ba9e4259a53298ae6851359 (patch) | |
tree | ffbb4956d864b961b66abc3864f88328a763f318 /website/templates | |
parent | 7a84e760c2008cb38ce26813cd7651cebae43f6f (diff) | |
download | lombok-1a2a3052310b1dc12ba9e4259a53298ae6851359.tar.gz lombok-1a2a3052310b1dc12ba9e4259a53298ae6851359.tar.bz2 lombok-1a2a3052310b1dc12ba9e4259a53298ae6851359.zip |
typo
Diffstat (limited to 'website/templates')
-rw-r--r-- | website/templates/features/experimental/SuperBuilder.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/templates/features/experimental/SuperBuilder.html b/website/templates/features/experimental/SuperBuilder.html index 56893df7..c68e28ca 100644 --- a/website/templates/features/experimental/SuperBuilder.html +++ b/website/templates/features/experimental/SuperBuilder.html @@ -26,7 +26,7 @@ <code>@SuperBuilder</code> is not compatible with <code>@Builder</code>. </p><p> You can use <code>@SuperBuilder(toBuilder = true)</code> to also generate an instance method in your class called <code>toBuilder()</code>; it creates a new builder that starts out with all the values of this instance. - Using <code>toBuilder</code> requires that all superclasses must also have <code>toBuilder = true</code>. + Using <code>toBuilder</code> requires that all superclasses also have <code>toBuilder = true</code>. You can put the <code>@Builder.ObtainVia</code> annotation on the fields to indicate alternative means by which the value for that field/parameter is obtained from this instance. For example, you can specify a method to be invoked: <code>@Builder.ObtainVia(method = "calculateFoo")</code>. </p><p> |