Files
lombok/test/transform/resource/before/JacksonizedSuperBuilderSimple.java
T
Reinier Zwitserloot bf0de8b678 [testing] marking down all jackson related tests as j8+ only
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.
2021-03-13 04:25:24 +01:00

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();
}
}