Commit Graph
2749 Commits
Author SHA1 Message Date
Caleb Brinkman 2baefe08ce Explicitly recommend against prefixes 2019-09-11 09:20:39 -05:00
Caleb Brinkman dc56309dad Merge branch 'master' of github.com:rzwitserloot/lombok into feature/builder-setter-prefixes 2019-09-11 09:17:02 -05:00
Reinier Zwitserloot 8c32769f18 post-release version bump 2019-09-11 00:36:07 +02:00
Reinier Zwitserloot 88d5d7d38d pre-release version bump 2019-09-10 23:58:25 +02:00
Reinier Zwitserloot dbbb4c77ff [trivial] With PR 2138 reverted, lets not name it in the changelogs. 2019-09-10 23:05:12 +02:00
Reinier Zwitserloot 2eab72cc9f introduce explanation for previous revert 2019-09-10 23:00:46 +02:00
Reinier Zwitserloot 877a169727 Undoing PR #2114 which tried to fix issue #1976
This PR does fix that, but introduces its own problem.
See commit immediately following this one for explanation
2019-09-10 23:00:14 +02:00
Reinier Zwitserloot 67fccba8ef [With] fixing the internal aliasing system
old Wither annotations were no longer being picked up.
2019-08-29 16:19:28 +02:00
Lars Grefer 514fd710c5 Update gradle.html 2019-08-28 00:13:02 +02:00
Reinier Zwitserloot 9a82f1c26b [trivial] typo 2019-08-27 00:40:50 +02:00
Reinier Zwitserloot 27589f7bb8 [With] [trivial] just docs and moving things around to the right place 2019-08-27 00:15:47 +02:00
Reinier Zwitserloot da5d9a12e7 [With] updated documentation for Wither/With 2019-08-27 00:15:47 +02:00
Reinier Zwitserloot 461b5541da [tests] fixing an error in a superbuilder/checkerframework test 2019-08-27 00:15:47 +02:00
Reinier Zwitserloot c11edbf032 [With] renaming lombok.experimental.Wither to lombok.experimental.With 2019-08-27 00:15:47 +02:00
Roel Spilker 7bf70ed638 [docker] use AdoptOpenJdk for all java releases, and add the latest version for all supported build systems 2019-08-26 23:49:22 +02:00
Roel Spilker ed3c8a67e2 Fixes #2156: also clone the annotations on the setter. 2019-08-26 20:31:00 +02:00
Jan Matèrne 38a48e8a85 Use dynamic year-value for JavaDoc-Copyright 2019-08-22 23:29:17 +02:00
Reinier Zwitserloot 383c00fa85 Merge pull request #2201 from middagj/clone-type
Clone type to correctly set annotated type on constructor, getter and setter
2019-08-22 23:27:10 +02:00
Reinier Zwitserloot db19a9fd83 Merge branch 'master' into clone-type 2019-08-22 23:26:55 +02:00
Reinier Zwitserloot ba8fd37828 Merge pull request #2204 from d4rksh4de/fix-loading-extensions
Fix loading extensions
2019-08-22 23:24:42 +02:00
Jan Matèrne 453c4117a6 add myself to authors 2019-08-22 23:15:33 +02:00
Jan Matèrne e6090dbd74 FailFast if Ant version does not support javac-modulepath 2019-08-22 23:15:21 +02:00
Reinier Zwitserloot a835579f79 [website] fix the /setup/overview load from the menu 2019-08-22 22:42:48 +02:00
Reinier Zwitserloot 15df143df6 [checkerframework]
A bit of a shadow feature because the checker framework folks need to do some work on their side.
this update makes lombok generate a few checker framework annotations (if configured to do so)
which let the checker framework add warnings and errors for example if you misuse builders, or ignore
the return values of withers, etc.
2019-08-22 22:42:48 +02:00
Steve Mägi 9773530fa9 fix loading extensions: Lombok extensions in external jar files were not included by class loader 2019-08-14 15:42:48 +03:00
Jacob Middag 819d195676 [Fixes #2189] Clone type to correctly set annotated type on constructor, getter and setter. 2019-08-08 21:14:58 +02:00
Roel Spilker ff1c01d9e9 add comments 2019-07-25 13:20:58 +02:00
Roel Spilker 867c3caf61 Fixes #2184: NPE on package-info.java without package declaration. 2019-07-24 21:18:36 +02:00
Reinier Zwitserloot 1f58c92e44 [trivial][website] adding tidelift link to the normalizer htaccess list 2019-07-19 15:55:26 +02:00
Caleb Brinkman 4dc5c32d6b Merge branch 'master' of github.com:rzwitserloot/lombok into feature/builder-setter-prefixes 2019-07-16 10:39:54 -05:00
Reinier Zwitserloot 218f28cc95 [website] [fixes #2167] be more clear about how the constructor generation interacts if both @Value and @Builder are on the same class. 2019-07-16 02:07:39 +02:00
Roel Spilker aa80e1baf9 Fixes #1197, add Objects.requireNonNull and Preconditions.checkkNotNull to supported null-check styles 2019-07-16 02:04:11 +02:00
Reinier Zwitserloot e1d1415d6e [fixes #2168] Added JsonSetter as a copyable annotation 2019-07-16 01:50:16 +02:00
Reinier Zwitserloot b439e4ce77 [Fixes #2115] builder fields tracking a property that has a default set is now called $value in order to convey that you shouldnt manually mess with it. 2019-07-16 01:24:18 +02:00
Reinier Zwitserloot b3824c9dc1 [fixes #2169] Eclipse 2019-06 + JDK12 + @Singular caused a cavalcade of error popups 2019-07-15 22:15:21 +02:00
Caleb Brinkman 88bf742e3e Implement prefixed setters
Related to #1805, this change adds an optional `setterPrefix` parameter
to the `Builder` annotation; if this parameter is unspecified or blank
the behavior of the `Builder` annotation is unchanged, but if it is
present the value specified will be prefixed to the generated methods.

For example, using:

```
@Builder(setterPrefix = "include")
class Foo {
    private int someValue;
}
```

will result in a generated `Builder` class containing an `includeSomeValue(int someValue)`
method instead of the default `someValue(int someValue)`.
2019-07-10 17:28:54 -05:00
Caleb Brinkman 96151ade65 Add tests for prefixed builder 2019-07-10 15:05:06 -05:00
Caleb Brinkman 5f198d71c6 Add setterPrefix to Builder annotation 2019-07-10 15:03:09 -05:00
Caleb Brinkman 64fc7b373b Add iml files to gitignore 2019-07-10 15:02:44 -05:00
Till Brychcy 206e306615 Add Till Brychcy to AUTHORS 2019-07-09 09:28:08 +02:00
Reinier Zwitserloot b7e67345b9 Merge branch 'customlog' 2019-07-09 00:46:03 +02:00
Reinier Zwitserloot 5ad6796b18 Merge pull request #2136 from ataccama/customlog
Fixes for CustomLog, AUTHORS entry, extended changlog
2019-07-09 00:43:28 +02:00
Reinier Zwitserloot 0984d14826 [changelog] adding to the changelog note about improved eclipse non-null support (see previous commit) 2019-07-09 00:38:27 +02:00
Reinier Zwitserloot 93540b267d Merge pull request #2155 from brychcy/master
Avoid Eclipse warnings about lombok.NonNull when NonNullByDefault is used
2019-07-09 00:30:10 +02:00
Reinier Zwitserloot 1c65efa7d9 [changelog] adding to the changelog note about improved val/var support (see previous commit) 2019-07-09 00:26:08 +02:00
Reinier Zwitserloot 8b805fadf7 Merge pull request #2138 from bulgakovalexander/feature/typeInferenceImprovements
val. override error handling policy for problemReporter to guarantee AbortCompilation is throwing.
2019-07-09 00:20:43 +02:00
Reinier Zwitserloot c1039553b0 [builder] added a feature: you can now configure builder class name via the config system 2019-07-09 00:11:00 +02:00
Reinier Zwitserloot bcf2d55abf [docker] Update test gradle file with the new style way to do things, which involves marking lombok explicitly as an annotation processor (via github user tagae: Sebastián González) 2019-07-09 00:10:59 +02:00
Roel Spilker 2ccd3f5f5d Fixes #2165: Generated equals fails on annotated array type 2019-07-08 23:17:38 +02:00
Reinier Zwitserloot 11065b564f [build] adding a security policy 2019-07-02 03:30:44 +02:00