mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 06:21:43 +00:00
bf0de8b678
The jackson dep we need for testing is too new a class file to run on j6, stubbing it out too much effort. Odds we find a bug specifically because this stuff fails on java6/7 are low, and I'm okay with supporting 6/7 a little less well.
14 lines
373 B
Java
14 lines
373 B
Java
//version 8: Jackson deps are at least Java7+.
|
|
public class JacksonizedSuperBuilderSimple {
|
|
@lombok.extern.jackson.Jacksonized
|
|
@lombok.experimental.SuperBuilder
|
|
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
|
public static class Parent {
|
|
int field1;
|
|
}
|
|
|
|
public static void test() {
|
|
Parent x = Parent.builder().field1(5).build();
|
|
}
|
|
}
|