mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-10 02:17:34 +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:
@@ -17,4 +17,8 @@
|
||||
@lombok.NoArgsConstructor class NoArgsConstructor1 {
|
||||
int x;
|
||||
String name;
|
||||
}
|
||||
}
|
||||
@lombok.RequiredArgsConstructor(staticName="of") class RequiredArgsConstructorStaticNameGenerics<T extends Number> {
|
||||
final T x;
|
||||
String name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user