diff options
author | Roel Spilker <r.spilker@gmail.com> | 2020-11-05 19:57:43 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-11-05 19:57:43 +0100 |
commit | 2e35148abe0245427ce579b2afbb36d1496979ed (patch) | |
tree | b76cbd514d0f54a53c74f7045240c3cf89d7a8df | |
parent | 28fbff467b3f3f3f5a4128313de02c9b1b2cb41d (diff) | |
download | lombok-2e35148abe0245427ce579b2afbb36d1496979ed.tar.gz lombok-2e35148abe0245427ce579b2afbb36d1496979ed.tar.bz2 lombok-2e35148abe0245427ce579b2afbb36d1496979ed.zip |
fix css class in documentation
-rw-r--r-- | website/templates/features/configuration.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/templates/features/configuration.html b/website/templates/features/configuration.html index 16214d4e..11aa3455 100644 --- a/website/templates/features/configuration.html +++ b/website/templates/features/configuration.html @@ -84,7 +84,7 @@ can be included. We suggest you put this in the root of your workspace directory. </p><p id="addNullAnnotations"> Lombok can add nullity annotations (usually called <code>@NonNull</code> and <code>@Nullable</code>) whenever it makes sense to do so; think of generated <a href="ToString"><code>toString</code></a> and <a href="with"><code>withX</code> methods (these never return null), or the parameter of a generated <a href="EqualsAndHashCode"><code>equals</code></a> method, which is allowed to be null, and requires such an annotation if you've set up your IDE for strict null checks as well as 'parameters are non-null by default'. There are many such libraries; you must tell lombok which one to use. By default, no such annotations are added. Enable this feature with: - <ol class="snippet example oneLiner"> + <ol class="snippet example oneliner"> <li><code>lombok.addNullAnnotations = <em><flavor></em></code></li> </ol> Many <em>flavors</em> are available: <code>javax</code> (=JSR305; not recommended), <code>eclipse</code>, <code>jetbrains</code>, <code>netbeans</code>, <code>androidx</code>, <code>android.support</code> (deprecated within android), <code>checkerframework</code> (recommended), <code>findbugs</code>, <code>spring</code>, <code>jml</code>, or define your own via <code>CUSTOM:fully.qualified.NonNullAnnotation:fully.qualified.NullableAnnotation</code>; if your nullity annotation is solely of the type use style (it annotates types, such as eclipse's and checkerframework's offerings, versus annotating methods and parameters), the format is <code>CUSTOM:TYPE_USE:nonnullanno:nullableanno</code>.<br /> |