From e98d226cfb9a4b76b12e38e8ac590fb6c6ebbacc Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 26 Mar 2012 23:49:39 +0200 Subject: 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. --- test/transform/resource/before/Constructors.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/transform/resource/before/Constructors.java') diff --git a/test/transform/resource/before/Constructors.java b/test/transform/resource/before/Constructors.java index 6ac228d6..272fa850 100644 --- a/test/transform/resource/before/Constructors.java +++ b/test/transform/resource/before/Constructors.java @@ -17,4 +17,8 @@ @lombok.NoArgsConstructor class NoArgsConstructor1 { int x; String name; -} \ No newline at end of file +} +@lombok.RequiredArgsConstructor(staticName="of") class RequiredArgsConstructorStaticNameGenerics { + final T x; + String name; +} -- cgit