Add fields with @JsonIgore to test case

This commit is contained in:
Liam Pace authored and Reinier Zwitserloot committed 2026-01-29 22:04:21 +01:00
1 parent ce9a103dd2
commit f5cf267d02
3 files changed
+68 -2

No files matched your search

@@ -1,12 +1,32 @@
public class JacksonizedAccessorsTransient {
@com.fasterxml.jackson.annotation.JsonIgnore
private transient int intValue;
@com.fasterxml.jackson.annotation.JsonIgnore
private transient long longValue;
@com.fasterxml.jackson.annotation.JsonIgnore
private double doubleValue;
@com.fasterxml.jackson.annotation.JsonIgnore
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int intValue() {
return this.intValue;
}
@com.fasterxml.jackson.annotation.JsonIgnore
@java.lang.SuppressWarnings("all")
@lombok.Generated
public long longValue() {
return this.longValue;
}
@com.fasterxml.jackson.annotation.JsonIgnore
@java.lang.SuppressWarnings("all")
@lombok.Generated
public double doubleValue() {
return this.doubleValue;
}
/**
* @return {@code this}.
*/
@@ -17,4 +37,26 @@ public class JacksonizedAccessorsTransient {
this.intValue = intValue;
return this;
}
/**
* @return {@code this}.
*/
@com.fasterxml.jackson.annotation.JsonIgnore
@java.lang.SuppressWarnings("all")
@lombok.Generated
public JacksonizedAccessorsTransient longValue(final long longValue) {
this.longValue = longValue;
return this;
}
/**
* @return {@code this}.
*/
@com.fasterxml.jackson.annotation.JsonIgnore
@java.lang.SuppressWarnings("all")
@lombok.Generated
public JacksonizedAccessorsTransient doubleValue(final double doubleValue) {
this.doubleValue = doubleValue;
return this;
}
}
@@ -1,16 +1,38 @@
public @lombok.extern.jackson.Jacksonized @lombok.experimental.Accessors(fluent = true) @lombok.Getter @lombok.Setter class JacksonizedAccessorsTransient {
private transient @com.fasterxml.jackson.annotation.JsonIgnore int intValue;
private transient @com.fasterxml.jackson.annotation.JsonIgnore long longValue;
private @com.fasterxml.jackson.annotation.JsonIgnore double doubleValue;
public JacksonizedAccessorsTransient() {
super();
}
public @com.fasterxml.jackson.annotation.JsonIgnore @java.lang.SuppressWarnings("all") @lombok.Generated int intValue() {
public @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() {
return this.longValue;
}
public @com.fasterxml.jackson.annotation.JsonIgnore @java.lang.SuppressWarnings("all") @lombok.Generated double doubleValue() {
return this.doubleValue;
}
/**
* @return {@code this}.
*/
public @com.fasterxml.jackson.annotation.JsonIgnore @java.lang.SuppressWarnings("all") @lombok.Generated JacksonizedAccessorsTransient intValue(final int intValue) {
public @java.lang.SuppressWarnings("all") @lombok.Generated JacksonizedAccessorsTransient intValue(final int intValue) {
this.intValue = intValue;
return this;
}
/**
* @return {@code this}.
*/
public @com.fasterxml.jackson.annotation.JsonIgnore @java.lang.SuppressWarnings("all") @lombok.Generated JacksonizedAccessorsTransient longValue(final long longValue) {
this.longValue = longValue;
return this;
}
/**
* @return {@code this}.
*/
public @com.fasterxml.jackson.annotation.JsonIgnore @java.lang.SuppressWarnings("all") @lombok.Generated JacksonizedAccessorsTransient doubleValue(final double doubleValue) {
this.doubleValue = doubleValue;
return this;
}
}
@@ -4,4 +4,6 @@
@lombok.Setter
public class JacksonizedAccessorsTransient {
private transient int intValue;
@com.fasterxml.jackson.annotation.JsonIgnore private transient long longValue;
@com.fasterxml.jackson.annotation.JsonIgnore private double doubleValue;
}