mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 16:17:34 +00:00
ecj: Jacksonized for accessors [WIP]
This commit is contained in:
1 parent
ef4afa4957
commit
70dd3f0940
14 files changed
+88
-25
No files matched your search
@@ -0,0 +1,16 @@
|
||||
public @lombok.extern.jackson.Jacksonized @lombok.experimental.Accessors(fluent = true) @lombok.Getter @lombok.Setter class JacksonizedAccessors {
|
||||
private @com.fasterxml.jackson.annotation.JsonProperty("intValue") int intValue;
|
||||
public JacksonizedAccessors() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated @com.fasterxml.jackson.annotation.JsonProperty("intValue") int intValue() {
|
||||
return this.intValue;
|
||||
}
|
||||
/**
|
||||
* @return {@code this}.
|
||||
*/
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated @com.fasterxml.jackson.annotation.JsonProperty("intValue") JacksonizedAccessors intValue(final int intValue) {
|
||||
this.intValue = intValue;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,7 @@
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.experimental.Accessors;
|
||||
import lombok.extern.jackson.Jacksonized;
|
||||
|
||||
@Jacksonized
|
||||
@Accessors(fluent = true)
|
||||
@Getter
|
||||
@Setter
|
||||
@lombok.extern.jackson.Jacksonized
|
||||
@lombok.experimental.Accessors(fluent = true)
|
||||
@lombok.Getter
|
||||
@lombok.Setter
|
||||
public class JacksonizedAccessors {
|
||||
private int intValue;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user