diff options
author | Jan Rieke <it@janrieke.de> | 2020-03-05 16:25:09 +0100 |
---|---|---|
committer | Jan Rieke <it@janrieke.de> | 2020-03-05 16:25:09 +0100 |
commit | a749bc230f4e42904dc6803841cfb928c394d3b5 (patch) | |
tree | 5fd2aa3b4f2fc01396ebfdc5fe13ef16141faba9 /src/core/lombok/extern/jackson/Jacksonized.java | |
parent | 8be4b0ffe6b5e5f89e8bb3d94e87d0aa98dc5aeb (diff) | |
download | lombok-a749bc230f4e42904dc6803841cfb928c394d3b5.tar.gz lombok-a749bc230f4e42904dc6803841cfb928c394d3b5.tar.bz2 lombok-a749bc230f4e42904dc6803841cfb928c394d3b5.zip |
@Jacksonized: add flag usage configuration key
Diffstat (limited to 'src/core/lombok/extern/jackson/Jacksonized.java')
-rw-r--r-- | src/core/lombok/extern/jackson/Jacksonized.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/lombok/extern/jackson/Jacksonized.java b/src/core/lombok/extern/jackson/Jacksonized.java index 0f98cb33..cf6678da 100644 --- a/src/core/lombok/extern/jackson/Jacksonized.java +++ b/src/core/lombok/extern/jackson/Jacksonized.java @@ -41,20 +41,20 @@ import lombok.experimental.SuperBuilder; * In particular, the annotation does the following: * <ul> * <li>Configure Jackson to use the builder for deserialization using - * {@code @JsonDeserialize(builder=MyClass.MyClassBuilder[Impl].class))} on the - * class. (An error is emitted if such an annotation already exists.) + * {@code @JsonDeserialize(builder=Foobar.FoobarBuilder[Impl].class)} + * on the class (where <em>Foobar</em> is the name of the annotated class).</li> * <li>Copy Jackson-related configuration annotations (like * {@code @JsonIgnoreProperties}) from the class to the builder class. This is - * necessary so that Jackson recognizes them when using the builder. + * necessary so that Jackson recognizes them when using the builder.</li> * <li>Insert {@code @JsonPOJOBuilder(withPrefix="")} on the generated builder * class to override Jackson's default prefix "with". If you configured a * different prefix in lombok using {@code setterPrefix}, this value is used. If * you changed the name of the {@code build()} method using using - * {@code buildMethodName}, this is also made known to Jackson. + * {@code buildMethodName}, this is also made known to Jackson.</li> * <li>For {@code @SuperBuilder}, make the builder implementation class * package-private.</li> * </ul> - * This annotation does <i>not</i> change the behavior of the generated builder. + * This annotation does <em>not</em> change the behavior of the generated builder. * A {@code @Jacksonized} {@code @SuperBuilder} remains fully compatible to * regular {@code @SuperBuilder}s. */ |