aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/JacksonJsonProperty.java
diff options
context:
space:
mode:
authorBulgakov Alexander <buls@yandex.ru>2019-05-07 10:49:50 +0300
committerBulgakov Alexander <buls@yandex.ru>2019-05-07 10:49:50 +0300
commit8f8cbae631ff2e7091a2a9b70339b778177122cc (patch)
tree936824b3998eff0bde662655ec89e1175e6e4c0e /test/transform/resource/after-delombok/JacksonJsonProperty.java
parent06fb1034eac690f5775e104c4bc82df3ad929cc9 (diff)
parent3496a3e9633cd6526745bcc390877653afad7f09 (diff)
downloadlombok-8f8cbae631ff2e7091a2a9b70339b778177122cc.tar.gz
lombok-8f8cbae631ff2e7091a2a9b70339b778177122cc.tar.bz2
lombok-8f8cbae631ff2e7091a2a9b70339b778177122cc.zip
Merge remote-tracking branch 'lombok/master' into feature/typeInferenceImprovements
Diffstat (limited to 'test/transform/resource/after-delombok/JacksonJsonProperty.java')
-rw-r--r--test/transform/resource/after-delombok/JacksonJsonProperty.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/JacksonJsonProperty.java b/test/transform/resource/after-delombok/JacksonJsonProperty.java
new file mode 100644
index 00000000..842ba298
--- /dev/null
+++ b/test/transform/resource/after-delombok/JacksonJsonProperty.java
@@ -0,0 +1,41 @@
+import com.fasterxml.jackson.annotation.JsonProperty;
+public class JacksonJsonProperty {
+ @JsonProperty("kebab-case-prop")
+ 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")
+ @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")
+ @java.lang.SuppressWarnings("all")
+ public void setKebabCaseProp(final String kebabCaseProp) {
+ this.kebabCaseProp = kebabCaseProp;
+ }
+} \ No newline at end of file