mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 02:14:44 +00:00
Adding Test with the expected behavior
This commit is contained in:
1 parent
24cf30face
commit
89abb18004
3 files changed
+4
-3
No files matched your search
@@ -7,6 +7,7 @@ public class JacksonizedBuilderFluent {
|
||||
private String fieldName1;
|
||||
@JsonProperty("FieldName2")
|
||||
private String fieldName2;
|
||||
@com.fasterxml.jackson.annotation.JsonProperty("fieldName3")
|
||||
private String fieldName3;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
|
||||
@@ -5,7 +5,7 @@ public @lombok.extern.jackson.Jacksonized @lombok.experimental.Accessors(fluent
|
||||
public JacksonizedAccessorsTransient() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated int intValue() {
|
||||
public @com.fasterxml.jackson.annotation.JsonIgnore @java.lang.SuppressWarnings("all") @lombok.Generated int intValue() {
|
||||
return this.intValue;
|
||||
}
|
||||
public @com.fasterxml.jackson.annotation.JsonIgnore @java.lang.SuppressWarnings("all") @lombok.Generated long longValue() {
|
||||
@@ -17,7 +17,7 @@ public @lombok.extern.jackson.Jacksonized @lombok.experimental.Accessors(fluent
|
||||
/**
|
||||
* @return {@code this}.
|
||||
*/
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated JacksonizedAccessorsTransient intValue(final int intValue) {
|
||||
public @com.fasterxml.jackson.annotation.JsonIgnore @java.lang.SuppressWarnings("all") @lombok.Generated JacksonizedAccessorsTransient intValue(final int intValue) {
|
||||
this.intValue = intValue;
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ public @lombok.extern.jackson.Jacksonized @lombok.experimental.Accessors(fluent
|
||||
}
|
||||
private @com.fasterxml.jackson.annotation.JsonProperty("fieldName1") String fieldName1;
|
||||
private @JsonProperty("FieldName2") String fieldName2;
|
||||
private String fieldName3;
|
||||
private @com.fasterxml.jackson.annotation.JsonProperty("fieldName3") String fieldName3;
|
||||
@java.lang.SuppressWarnings("all") @lombok.Generated JacksonizedBuilderFluent(final String fieldName1, final String fieldName2, final String fieldName3) {
|
||||
super();
|
||||
this.fieldName1 = fieldName1;
|
||||
|
||||
Reference in new issue
Block a user