mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +00:00
Added full test suite for @Accessors, as well as the new rules for whether or not a method is already there so lombok shouldn't generate it (now number of parameters matters), and added generics testing to RequiredArgsConstructor's static constructor feature.
This commit is contained in:
1 parent
7ddafc0fe5
commit
e98d226cfb
11 files changed
+118
-15
No files matched your search
@@ -35,4 +35,16 @@ class AccessorsPrefix3 {
|
||||
private String getName() {
|
||||
return fName;
|
||||
}
|
||||
}
|
||||
|
||||
class AccessorsFluentGenerics<T extends Number> {
|
||||
@lombok.Setter @lombok.experimental.Accessors(fluent=true) private String name;
|
||||
}
|
||||
|
||||
class AccessorsFluentNoChaining {
|
||||
@lombok.Setter @lombok.experimental.Accessors(fluent=true,chain=false) private String name;
|
||||
}
|
||||
|
||||
class AccessorsFluentStatic<T extends Number> {
|
||||
@lombok.Setter @lombok.experimental.Accessors(fluent=true) private static String name;
|
||||
}
|
||||
Reference in new issue
Block a user