mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +00:00
[test] Missing after-X files used to be an implicit 'just ignore the content' signal; now you need an explicit directive to allow this behaviour.
[configuration] added tests for @Accessors configuration key implementations.
This commit is contained in:
1 parent
e5dc6203c8
commit
d1899a81e9
11 files changed
+113
-14
No files matched your search
@@ -0,0 +1,31 @@
|
||||
class AccessorsConfiguration {
|
||||
private @lombok.Getter @lombok.Setter @lombok.experimental.Accessors(fluent = true) String m_FieldName = "";
|
||||
AccessorsConfiguration() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") String fieldName() {
|
||||
return this.m_FieldName;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") void fieldName(final String m_FieldName) {
|
||||
this.m_FieldName = m_FieldName;
|
||||
}
|
||||
}
|
||||
@lombok.experimental.Accessors(prefix = {}) class AccessorsConfiguration2 {
|
||||
private @lombok.Setter String m_FieldName = "";
|
||||
AccessorsConfiguration2() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") void setM_FieldName(final String m_FieldName) {
|
||||
this.m_FieldName = m_FieldName;
|
||||
}
|
||||
}
|
||||
@lombok.experimental.Accessors(chain = true) class AccessorsConfiguration3 {
|
||||
private @lombok.Setter String fFieldName = "";
|
||||
AccessorsConfiguration3() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") AccessorsConfiguration3 setFieldName(final String fFieldName) {
|
||||
this.fFieldName = fFieldName;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user