mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 20:21:01 +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
407 B
Java
14 lines
407 B
Java
//version 8: Jackson deps are at least Java7+.
|
|
import java.util.List;
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
|
|
@lombok.extern.jackson.Jacksonized
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
@lombok.Builder(access = lombok.AccessLevel.PROTECTED)
|
|
class JacksonizedBuilderSimple<T> {
|
|
private final int noshow = 0;
|
|
private final int yes;
|
|
private List<T> also;
|
|
private int $butNotMe;
|
|
}
|