Commit Graph

461 Commits

Author SHA1 Message Date
samukce db59aa442b Add tests classes for rank property 2020-06-11 21:47:27 +02:00
Rawi01 a2941041d4 [fixes #2481] Copy constructor javadoc to builder methods 2020-06-11 21:19:23 +02:00
Rawi01 a2a194f32d [fixes #2006] Delegate now excludes already implemented methods 2020-05-28 22:36:35 +02:00
Rawi01 7d08af7d85 [fixes #2382] Handle generic supertypes 2020-05-28 21:22:53 +02:00
Jan Rieke 48b1f17f7e [SuperBuilder] allow constructor customization 2020-05-28 21:18:35 +02:00
Reinier Zwitserloot 20cce2049d Merge pull request #2429 from janrieke/jacksonAndSingularAnnotationCopy
Copy more Jackson annotation to the builder, also to @Singular methods
2020-04-17 01:37:08 +02:00
Reinier Zwitserloot 9d50e9f8ad Merge pull request #2427 from Rawi01/addNullCheck
Add null check in copyTypeAnns
2020-04-17 01:34:30 +02:00
Reinier Zwitserloot c8e21dd336 Merge pull request #2409 from janrieke/superBuilderFixAIOOBE
[SuperBuilder] fix IndexOutOfBounds (fixes #2407)
2020-04-16 23:37:14 +02:00
Jan Rieke dede79bc22 copy more Jackson annotation to the builder, also for @Singular methods 2020-04-16 18:32:31 +02:00
Rawi01 d34fdeb3b4 [fixes #2246] Add null check 2020-04-15 09:22:01 +02:00
Jan Rieke 7369042982 [SuperBuilder] test qualified type references in extends clause 2020-03-26 23:21:44 +01:00
Reinier Zwitserloot 94440a8bd7 [UtilityClass] [issue #2384] Added a test to confirm no issue.
added some tests to confirm that lombok makes things static if needed.
2020-03-15 06:59:31 +01:00
Reinier Zwitserloot 3edac64911 [fixes #2386] [checkerframework]
Now generating checkerframework `@Pure` instead of `@SideEffectFree` where appropriate.
2020-03-15 03:04:03 +01:00
Reinier Zwitserloot 732c7257e1 [fixes #2358] self-referential generics could cause endless loops in javac.
... unfortunately eclipse's val resolver is now very slightly worse in very exotic circumstances - spent about 4 hours trying to fix it, can't figure it out, let's move on.
2020-03-06 05:25:03 +01:00
Reinier Zwitserloot 5e1ee5cb0d [Jacksonized] fixing the idempotent tests
they fail due to builder annotation not being removed.
2020-03-06 05:25:03 +01:00
Jan Rieke 8be4b0ffe6 @Jacksonized: modify builders that they can be used by Jackson 2020-03-03 13:01:48 +01:00
Reinier Zwitserloot 7993aa20cd [issue #2368] [withBy] support for ecj 2020-02-15 07:23:16 +01:00
Reinier Zwitserloot a991bebe41 [issue #2368] [withBy] support for javac 2020-02-15 07:23:10 +01:00
Reinier Zwitserloot a6fb86359a [issue #2369] [reproduction-test] inner types not detected as static if in interface/enum. 2020-02-14 14:50:38 +01:00
Reinier Zwitserloot 72f546f9cb [trivial] improving consistency between javac vs. ecj output
wasn't worth an issue on the tracker: javac and ecj handlers for static constructors would differ; ecjs would specify the return type and constructor invocation using fully qualified types, whereas the handler for javac did not.
2020-02-14 01:21:24 +01:00
Reinier Zwitserloot 89f98da78d [fixes #678] @Synchronize an instance method on static variable no longer emits a warning. 2020-02-14 01:21:24 +01:00
Jan Rieke 0ab433b41a SuperBuilder javac fix for nested generic types; fixes #2359 2020-02-11 12:47:38 +01:00
Jan Rieke 6e2d23fdd7 setter prefixes for SuperBuilder
setter prefixes for SuperBuilder [javac]
better javadoc for the SuperBuilder setterPrefix value
setter prefixes for SuperBuilder [ecj]
add test for SuperBuilder setter method customization
fix setter method customization with setterPrefix
2020-02-08 16:09:56 +01:00
Reinier Zwitserloot 8943b49dfe [fixes #880] get rid of an unchecked cast warning for @Getter(lazy=true) 2020-02-06 23:57:30 +01:00
Reinier Zwitserloot 2e06cb3ff1 [#2355] fixed tests for clashes in the generics for superbuilder 2020-02-06 22:06:21 +01:00
Jan Rieke 4a34ed75b4 avoid more name clashes for builder type param; fixes #2297 2020-02-06 16:05:56 +01:00
Reinier Zwitserloot 3f0fec1872 [issue #788] Add more nullity annotations where relevant
(chainable setters, static constructors, builder stuff)
2020-01-31 15:58:19 +01:00
Reinier Zwitserloot c42bfbae39 [issue #2221] simplified configuration for @Singular-generated plural form nullchecks. 2020-01-31 06:33:33 +01:00
Reinier Zwitserloot e95680a767 [issue #2221] [issue #788] Lombok now adds nullity annotations.
Which 'flavour' is defined in lombok.config; applied to toString, equals, canEqual, and plural-form of `@Singular`.
2020-01-28 16:21:39 +01:00
Reinier Zwitserloot 91a40b8312 [singular][issue #2221] the plural builder method now nullchecks its argument with configurable results. 2020-01-28 16:21:39 +01:00
Roel Spilker 56543053ac Make test java version independent, error message changed 2020-01-20 13:37:11 +01:00
Reinier Zwitserloot 94381d0e9a [fixes #2335] ObtainVia(method=) on more than one arg would crash in javac 2020-01-15 00:52:53 +01:00
Reinier Zwitserloot 9ad2bd563b [fixes #788] lombok generated equals method plus a non-null-by-default annotation no longer clash. 2020-01-08 01:06:35 +01:00
Reinier Zwitserloot 0b0656ae3c [fixes #2323] javadoc @return generation updated. 2020-01-07 23:29:04 +01:00
Reinier Zwitserloot 3f620e3b84 [fixes #2327] mostly trivial: Added this. for field access and unified code gen of build() methods for @Builder. 2020-01-07 22:31:43 +01:00
Reinier Zwitserloot 889c935ec9 [fixes #2268] make lombok generate qualified types in order to avoid name clashes. 2020-01-06 05:19:37 +01:00
Reinier Zwitserloot d57a1bc2b9 [#2273] [#2262] [#2278] test to reproduce bug 2019-12-19 03:22:54 +01:00
Reinier Zwitserloot 6bab046832 Merge branch 'feature/builder-setter-prefixes' of git://github.com/floralvikings/lombok into floralvikings-feature/builder-setter-prefixes 2019-12-11 00:28:37 +01:00
Caleb Brinkman 65302bc13a More test fixes 2019-10-28 12:09:15 -05:00
Caleb Brinkman 666defaff3 Fix up some more tests and copy-paste errors 2019-10-25 15:38:07 -05:00
Caleb Brinkman ffb299730e Fix more broken tests 2019-09-19 16:05:17 -05:00
Caleb Brinkman 24a49a9d2b Fix more copy/paste test errors 2019-09-19 15:16:06 -05:00
Caleb Brinkman 4b6588ed02 Fix test copy/paste errors 2019-09-19 13:48:19 -05:00
Caleb Brinkman bae66a3450 Fix null pointers and incorrect tests 2019-09-19 13:14:43 -05:00
Roel Spilker 80c1b2d2e7 add test for #2230 2019-09-12 21:56:21 +02:00
abrinkman94 288ee7be5c Merge branch 'feature/builder-setter-prefixes' of https://github.com/floralvikings/lombok into feature/builder-setter-prefixes 2019-09-12 12:32:39 -05:00
abrinkman94 8b30eee604 Adjusted test classes to include WithSetterPrefix. 2019-09-12 12:32:12 -05:00
Caleb Brinkman f222050d13 Fix class names in before 2019-09-12 12:02:04 -05:00
Caleb Brinkman 5b16b48bbf Fix class names in after-ecj 2019-09-12 11:58:10 -05:00
Caleb Brinkman 36287f2ff9 Duplicate builder tests with setter prefix 2019-09-12 11:28:20 -05:00