aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/JacksonizedSuperBuilderSimple.java
blob: 23e52c97bc03fba52bb7f228d12aefb3e41d28f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//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();
	}
}