mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-04 14:13:25 +00:00
Add JacksonizedAccessorsJackson3 test case verifying that @Jacksonized with jacksonVersion=3 emits the correct annotations. Add expected warning messages for tests that have both Jackson 2 and 3 on the classpath without explicit version configuration, and fix JacksonizedSuperBuilderWithJsonDeserialize message expectations.
10 lines
302 B
Java
10 lines
302 B
Java
//version 8: Jackson deps are at least Java7+.
|
|
//CONF: lombok.jacksonized.jacksonVersion += 3
|
|
@lombok.Data
|
|
@lombok.experimental.Accessors(fluent = true)
|
|
@lombok.extern.jackson.Jacksonized
|
|
class JacksonizedAccessorsJackson3 {
|
|
private String name;
|
|
private int age;
|
|
private transient String password;
|
|
} |