mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 22:15:11 +00:00
Add transforms to include checks for transient field
This commit is contained in:
1 parent
04876622d9
commit
e3c9e3d9ff
3 files changed
+43
No files matched your search
@@ -0,0 +1,20 @@
|
||||
public class JacksonizedAccessorsTransient {
|
||||
@com.fasterxml.jackson.annotation.JsonIgnore
|
||||
private transient int intValue;
|
||||
@com.fasterxml.jackson.annotation.JsonIgnore
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public int intValue() {
|
||||
return this.intValue;
|
||||
}
|
||||
/**
|
||||
* @return {@code this}.
|
||||
*/
|
||||
@com.fasterxml.jackson.annotation.JsonIgnore
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public JacksonizedAccessorsTransient intValue(final int intValue) {
|
||||
this.intValue = intValue;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user