diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-03-26 23:49:39 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-03-26 23:49:39 +0200 |
commit | e98d226cfb9a4b76b12e38e8ac590fb6c6ebbacc (patch) | |
tree | b9783fd8b03bd49244d7f43cc53f1c22972d33ea /test/transform/resource/before/Constructors.java | |
parent | 7ddafc0fe573b0d97a4bf27d42caccad695af996 (diff) | |
download | lombok-e98d226cfb9a4b76b12e38e8ac590fb6c6ebbacc.tar.gz lombok-e98d226cfb9a4b76b12e38e8ac590fb6c6ebbacc.tar.bz2 lombok-e98d226cfb9a4b76b12e38e8ac590fb6c6ebbacc.zip |
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.
Diffstat (limited to 'test/transform/resource/before/Constructors.java')
-rw-r--r-- | test/transform/resource/before/Constructors.java | 6 |
1 files changed, 5 insertions, 1 deletions
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<T extends Number> { + final T x; + String name; +} |