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
abrinkman94
e1bd41fab9
Added setterPrefix to javac
2019-09-19 11:30:12 -05: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
Caleb Brinkman
cc070254a6
Remove extraneous import
2019-09-11 11:16:04 -05:00
Caleb Brinkman
66fbde5187
Add myself to AUTHORS
2019-09-11 09:21:22 -05:00
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