mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-08 00:15:35 +00:00
[configuration] Added the configuration keys lombok.ToString.doNotUseGetters and lombok.ToString.includeFieldNames
This commit is contained in:
1 parent
143143276d
commit
e557413336
6 files changed
+115
-7
No files matched your search
@@ -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