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
Jan Rieke
8be4b0ffe6
@Jacksonized: modify builders that they can be used by Jackson
2020-03-03 13:01:48 +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
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
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
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
Roel Spilker
80c1b2d2e7
add test for #2230
2019-09-12 21:56:21 +02: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
dc56309dad
Merge branch 'master' of github.com:rzwitserloot/lombok into feature/builder-setter-prefixes
2019-09-11 09:17:02 -05:00
Reinier Zwitserloot
c11edbf032
[With] renaming lombok.experimental.Wither to lombok.experimental.With
2019-08-27 00:15:47 +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
Caleb Brinkman
4dc5c32d6b
Merge branch 'master' of github.com:rzwitserloot/lombok into feature/builder-setter-prefixes
2019-07-16 10:39:54 -05: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
Caleb Brinkman
96151ade65
Add tests for prefixed builder
2019-07-10 15:05:06 -05:00
Reinier Zwitserloot
b7e67345b9
Merge branch 'customlog'
2019-07-09 00:46:03 +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