Commit Graph
2560 Commits
Author SHA1 Message Date
Reinier Zwitserloot 2c5395d4c8 pre-release version bump 2018-06-05 01:04:06 +02:00
Reinier Zwitserloot 21b415df8b Fixes #1676 at least for eclipse: You can now use java10 var in an eclipse that supports this, without lombok getting in the way. 2018-06-05 01:02:16 +02:00
Reinier Zwitserloot 6e0f7eca3d Fixing the snippet for the reworked FieldNameConstants 2018-06-04 23:55:22 +02:00
Reinier Zwitserloot a0b901c3c0 @NonNull now uses a slightly longer exception message. 2018-06-04 23:55:13 +02:00
Reinier Zwitserloot 198efc1b27 Merge pull request #1698 from hubrick/feature/explicit-npe-message
Make the null check exception a little bit more explicit
2018-06-04 23:40:21 +02:00
Roel Spilker a74db7c10c Make extraPrivate opt-in instead of opt-out. Fixes #1708 2018-06-04 23:36:45 +02:00
Reinier Zwitserloot b8e85f5dc7 FieldNameConstants now defaults to having a prefix ‘FIELD_’, which can be configured both on the annotation itself and via a config key. This totally breaks compatibility with the previous lombok release, but, hey, it’s in experimental and it’s been one week. This is better. 2018-06-04 23:36:10 +02:00
Roel Spilker fb5a553014 Do not generate a private no-args constructor if:
- The class has a parent class
- There is an explicit XxxArgsConstructor annotation that would generate
a no-args constructor
Fixes #1703, fixes #1704, fixes #1712
2018-06-04 22:40:24 +02:00
Reinier Zwitserloot 370705e7e1 Fixex #1697: google’s FluentLogger (Flogger) now available as one of lombok’s log annotations. 2018-06-04 22:18:54 +02:00
Reinier Zwitserloot 974e80e1de changelog now mentions fix for issue 1709 2018-06-04 20:55:00 +02:00
Reinier Zwitserloot d7b72c41dc fixes #1709 – boolean properties in lombok annotations, such as onlyExplicitlyIncluded, didn’t work. 2018-06-04 20:53:01 +02:00
Roel Spilker 6def033f13 Remove delombok shorthand for onlyChanged, fixes #1705 2018-06-04 20:18:42 +02:00
Jan Rieke e2fc6fa564 SuperBuilder support for abstract classes 2018-06-04 17:52:38 +02:00
Jan Rieke d4fa7c583b next lombok version is 0.16.23 2018-06-01 16:31:52 +02:00
Jan Rieke ebbe169f1a reverted unnecessary import reordering 2018-06-01 16:08:16 +02:00
Jan Rieke d11263a6c6 support @Builder.Default 2018-06-01 15:57:59 +02:00
Jan Rieke 51c0c40ac4 handle experimental flag usage 2018-06-01 10:50:26 +02:00
Jan Rieke 32bed51fed ecj: generate default constructor for builder classes 2018-05-31 18:01:43 +02:00
Jan Rieke 795e3c8487 Revert "ecj: SuperBuilderBasic test passes (removed superconstructor calls)"
This reverts commit 9ee2491427.
2018-05-31 16:40:08 +02:00
Jan Rieke 7bd60ea6e6 second generics test case 2018-05-31 16:32:14 +02:00
Jan Rieke 4735f99d28 ecj: reordering of methods 2018-05-31 15:02:08 +02:00
Jan Rieke 664ed48460 javac: delete @SuperBuilder when processing it 2018-05-31 14:53:20 +02:00
Jan Rieke 65b248ec62 fixed expected test results 2018-05-31 14:41:40 +02:00
Jan Rieke 1e87330f18 test case for custom builder method 2018-05-30 22:54:11 +02:00
Jan Rieke 36c75b2d68 no custom builders allowed, so there cannot be a toString() method 2018-05-30 22:49:34 +02:00
Jan Rieke 4c5a7cddab code formatting, reordering, rename etc. 2018-05-30 22:38:08 +02:00
Jan Rieke 04269ef14b fixed compiler errors in ant 2018-05-30 15:27:47 +02:00
Jan Rieke cdee277f11 ecj: fixed compiler errors after revert of HandleBuilder 2018-05-30 13:38:20 +02:00
Jan Rieke 9470ca650e ecj: revert changes to HandleBuilder (everything in HandleSuperBuilder) 2018-05-30 13:38:20 +02:00
Jan Rieke a74f4bdda0 ecj: no empty <> if there are no type params 2018-05-30 13:23:57 +02:00
Jan Rieke b2f44c3264 ecj: type parameters for methods and constructor param 2018-05-30 13:10:34 +02:00
Jan Rieke 61f0689f6b ecj: copy type parameters to builder class 2018-05-30 11:52:42 +02:00
Reinier Zwitserloot c39cf53927 [release] post-release version bump 2018-05-29 00:28:00 +02:00
Reinier Zwitserloot effa4e9474 [release] pre-release version bump 2018-05-29 00:13:57 +02:00
Reinier Zwitserloot d07ffaa17d [trivial] small update to changelog 2018-05-28 23:56:48 +02:00
Reinier Zwitserloot 2c9c2fefdb Upgraded lombok.patcher dep to 0.26. (Which updates ASM to be Java10/11 compatible). 2018-05-28 22:29:27 +02:00
Pascal Bihler c91753fcec [authors] Added Pascal Bihler to author list and restored alphabetical order 2018-05-28 22:26:56 +02:00
Roel Spilker d438878127 Update docs. 2018-05-28 22:00:57 +02:00
Roel Spilker 6045c1b8f5 Generate default no-args constructor 2018-05-28 21:54:12 +02:00
Marcus Thiesen 72f72395c7 Make the null check exception a little bit more explicit
Currently it is "NullPointerException: someFieldName" and that is not very
telling as to the reasons this exception is thrown.
2018-05-22 09:11:15 +02:00
Jan Rieke 9ee2491427 ecj: SuperBuilderBasic test passes (removed superconstructor calls) 2018-05-17 21:26:42 +02:00
Jan Rieke 55976fec12 ecj: remaining type args for non-generic class builders 2018-05-17 20:36:40 +02:00
Reinier Zwitserloot 4fb9c6f7f8 [documentation] documenting the new-style include/exclude of ToString and EqualsAndHashCode 2018-05-15 01:07:03 +02:00
Reinier Zwitserloot 649a7b72bf [new-style include/exclude] added new-style include/exclude support to EqualsAndHashCode. 2018-05-15 00:50:58 +02:00
Reinier Zwitserloot 323cc5267e fixes #1580 - documenting Pascal Bihler's contribution to making lombok run better with gradle 2018-05-14 23:08:28 +02:00
Reinier Zwitserloot 366d18c861 Merge pull request #1680 from pbi-qfs/gradleIncremental
Allow gradle incremental compiling with lombok
2018-05-14 23:03:25 +02:00
Reinier Zwitserloot ad21a1573b [annotation based ToString] hey.. we have annotation based ToString now, where you can include/exclude fields by annotating the fields. 2018-05-14 22:03:46 +02:00
Jan Rieke 5d35fe3bfb ecj: method body for self(); type args for BuilderImpl extends clause 2018-05-14 17:59:45 +02:00
Jan Rieke fb401d4887 ecj: setter methods now return self() 2018-05-11 17:19:47 +02:00
Jan Rieke ee51d77dd6 ecj: type params for constructor, abstract builder class, self method 2018-05-11 14:41:38 +02:00