aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/JacksonJsonProperty.java
blob: 16a8039e25834a67116d81a34fcaf3b8f7782986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.annotation.Nulls;
public class JacksonJsonProperty {
	@JsonProperty("kebab-case-prop")
	@JsonSetter(nulls = Nulls.SKIP)
	public String kebabCaseProp;
	@java.lang.SuppressWarnings("all")
	JacksonJsonProperty(final String kebabCaseProp) {
		this.kebabCaseProp = kebabCaseProp;
	}
	@java.lang.SuppressWarnings("all")
	public static class JacksonJsonPropertyBuilder {
		@java.lang.SuppressWarnings("all")
		private String kebabCaseProp;
		@java.lang.SuppressWarnings("all")
		JacksonJsonPropertyBuilder() {
		}
		@JsonProperty("kebab-case-prop")
		@JsonSetter(nulls = Nulls.SKIP)
		@java.lang.SuppressWarnings("all")
		public JacksonJsonPropertyBuilder kebabCaseProp(final String kebabCaseProp) {
			this.kebabCaseProp = kebabCaseProp;
			return this;
		}
		@java.lang.SuppressWarnings("all")
		public JacksonJsonProperty build() {
			return new JacksonJsonProperty(kebabCaseProp);
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "JacksonJsonProperty.JacksonJsonPropertyBuilder(kebabCaseProp=" + this.kebabCaseProp + ")";
		}
	}
	@java.lang.SuppressWarnings("all")
	public static JacksonJsonPropertyBuilder builder() {
		return new JacksonJsonPropertyBuilder();
	}
	@JsonProperty("kebab-case-prop")
	@JsonSetter(nulls = Nulls.SKIP)
	@java.lang.SuppressWarnings("all")
	public void setKebabCaseProp(final String kebabCaseProp) {
		this.kebabCaseProp = kebabCaseProp;
	}
}