mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 00:26:04 +00:00
[configuration] Added the configuration keys lombok.ToString.doNotUseGetters and lombok.ToString.includeFieldNames
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//CONF: lombok.ToString.includeFieldNames = false
|
||||
//CONF: lombok.ToString.doNotUseGetters = true
|
||||
import lombok.ToString;
|
||||
import lombok.Getter;
|
||||
@ToString @Getter class ToStringConfiguration {
|
||||
int x;
|
||||
}
|
||||
@ToString(includeFieldNames=true) class ToStringConfiguration2 {
|
||||
int x;
|
||||
}
|
||||
@ToString(doNotUseGetters=false) @Getter class ToStringConfiguration3 {
|
||||
int x;
|
||||
}
|
||||
Reference in New Issue
Block a user